Hello, Jean-Christian Imbeault <[EMAIL PROTECTED]> wrote: > I'm passing a var into a function which is a 16 digit number, but when I > try to print it out I get 1.11111111111E+15 instead of the expected > 11111111111111. > > Why?
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... > How can I change this behaviour? Perhaps, you can use sprintf() http://www.php.net/manual/en/function.sprintf.php HTH, - E __________________________________________________ Do You Yahoo!? Yahoo! BB is Broadband by Yahoo! http://bb.yahoo.co.jp/ -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php