A workaround to php 7.3 echoing floats with “,” instead of “.” as a decimal separator; first commit
This commit is contained in:
parent
cea8735470
commit
b147447b69
1 changed files with 5 additions and 0 deletions
5
web/lib/realfloat.php
Normal file
5
web/lib/realfloat.php
Normal file
|
@ -0,0 +1,5 @@
|
|||
<?php
|
||||
function rf($num) {
|
||||
return str_replace(',','.',$num);
|
||||
}
|
||||
?>
|
Loading…
Reference in a new issue