Big int number | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 1

Big int number

I have a php script that script contain large int number. I print that int but i got scientific notation number i don't need that i need to print in int format $x=1555535766567575467344; echo $x;

19th May 2020, 6:00 AM
Abraham Aschalew
2 Answers
+ 2
Use number_format() or sprintf() to output your number correctly. https://www.php.net/number_format https://www.php.net/sprintf if this doesn't help show your code
19th May 2020, 6:32 AM
ChaoticDawg
ChaoticDawg - avatar
0
It's work thanks.
20th Aug 2020, 12:41 PM
Abraham Aschalew