This question already has an answer here:
Trying to echo 0.00009 number gives me 9.0E-5 tryed to do
echo number_format($number);
it echoes 0, maybe someone could explain me how to print my number and even lower ones.
</div>
This question already has an answer here:
Trying to echo 0.00009 number gives me 9.0E-5 tryed to do
echo number_format($number);
it echoes 0, maybe someone could explain me how to print my number and even lower ones.
</div>
You probably want something like this...
number_format($number, 5, '.', '');
That should give you the number to 5 decimal places, using . for the decimal (English format).
Reference: http://php.net/manual/en/function.number-format.php