[PHP] Re: A long float number.

2003-08-01 Thread zavaboy
Thanks! number_format() fixed it! "Bogdan Stancescu" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > Keeping it on one line doesn't affect the calculations (as it > shouldn't). Try using either sprintf() or number_format() for this > purpose (the latter is generally preferred, but I

[PHP] Re: A long float number.

2003-08-01 Thread Bogdan Stancescu
Keeping it on one line doesn't affect the calculations (as it shouldn't). Try using either sprintf() or number_format() for this purpose (the latter is generally preferred, but I don't know exactlt what you're after). Bogdan Zavaboy wrote: How do I prevent a long float number end up like this