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?!!

Reported as a duplicate by members of Visman , andreymal , Denis Bubnov , pavel , Cerbo Jan 1 '18 at 17:42 .

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 .

    1 answer 1

    Something like PHP documentation .

    Example :

     $n = 1.1337228E+12; echo number_format($n, 2, ".", ""); //1133722800000.00