Do you have a question? Post it now! No Registration Necessary. Now with pictures!
- Falk Fiedler
August 11, 2011, 9:23 am
rate this thread
Yes, it is correct. The value is larger than a 32 bit integer can hold,
so PHP creates a float type out of it.
Remove the "x" from my email address
JDS Computer Training Corp.
August 11, 2011, 1:00 pm
In my computer, it creates a float but it doesn't lose precision. You
should be able to work with it without any problem.
If you are getting scientific notation it's because you are casting it
to string with a function that does not let you choose the format. Just
handle it as number.
-- http://alvaro.es - Álvaro G. Vicario - Burgos, Spain
-- Mi sitio sobre programación web: http://borrame.com
-- Mi web de humor satinado: http://www.demogracia.com