Jump to content

e+006 help pls


Narafir

Recommended Posts

I have written some code that works great. It has an input for a float number, does some math, and returns the results. If the input is 6 digits (999999) the results are returned as they should (float, again). But if the input is more than that i.e. 7 digits (9999999) then the results are something like 1.05271e+006. How can i avoid that and have a number that shows better?

 

(I am fairly new here, so please let me know if I should explain further or provide the code)

Link to comment
https://forums.phpfreaks.com/topic/141755-e006-help-pls/
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.