Hello,
In src/Utils.php at method es6NumberFormat(), I have found these two lines:
$formatted = rtrim($formatted, '.0');
and
$parts[0] = rtrim($parts[0], '.0');
I think they are not doing what they are intended for. Here, all "0" and "." are removed from the right side of the string.
But zeros left to the decimal point will be removed too. This means that the number 1230.0000 will become 123 and not 1230.
Hello,
In src/Utils.php at method es6NumberFormat(), I have found these two lines:
and
I think they are not doing what they are intended for. Here, all "0" and "." are removed from the right side of the string.
But zeros left to the decimal point will be removed too. This means that the number
1230.0000will become123and not1230.