- Edwin wrote:
I guess it's because the number is converted automatically to an exponential notation if it goes over a certain number of digits--makes it easier to read...
I figured as much. But why? I found a solution by changing the precision of floats in the php.ini file.

But I still find it strange that PHP will, internally, happily treat my variable as a string but when it comes time to print it out, it decides that it's a number and formats it without my asking it to.

Jc


--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



Reply via email to