This question has already been answered:
- How to bring into normal view 1.0E-5 2 responses
I have through fwrite(STDOUT, $bignum)
number should be as it is, but it goes out with these patients 1.1337228E + 12. What to do?!!
This question has already been answered:
I have through fwrite(STDOUT, $bignum)
number should be as it is, but it goes out with these patients 1.1337228E + 12. What to do?!!
A similar question was asked earlier and an answer has already been received. If the answers provided are not exhaustive, please ask a new question .
Something like PHP documentation .
Example :
$n = 1.1337228E+12; echo number_format($n, 2, ".", ""); //1133722800000.00
Source: https://ru.stackoverflow.com/questions/493961/
All Articles