Jump to content

Echo-ing large numbers


cdm319

Recommended Posts

Hey,

 

I'm new to these forums, so please excuse me if this should go in the Math sub-forum.  I don't think it would, as it's to do more with the echo format than the maths.

 

Anyway, I am performing a simple calculation using PHP, working with user inputted values (numbers, in terms of millions).  It works for numbers up to 9,999,999.00  however when it gets to 10 million or above, it gives me an answer in terms of E.

 

Is there any way to get it to simply echo the number in its entirety as opposed to in terms of E?

 

Many Thanks,

Chris

Link to comment
https://forums.phpfreaks.com/topic/151606-echo-ing-large-numbers/
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.