Re: [PHP] Re: Problem with number_format

2004-05-25 Thread Jordi Canals
Martin Geisler wrote: My PHP manual (from a Debian package) has the following note on the page for round(): Caution When rounding on exact halves round() rounds down on evens and up on odds. If you want to always force it in one direction on a .5 (or .05 in your case) add or substract a tiny

Re: [PHP] Re: Problem with number_format

2004-05-25 Thread Curt Zirzow
* Thus wrote Martin Geisler ([EMAIL PROTECTED]): My PHP manual (from a Debian package) has the following note on the page for round(): Caution When rounding on exact halves round() rounds down on evens and up on odds. If you want to always force it in one direction on a .5 (or .05

Re: [PHP] Re: Problem with number_format

2004-05-25 Thread fku
Martin Geisler wrote: My PHP manual (from a Debian package) has the following note on the page for round(): Caution When rounding on exact halves round() rounds down on evens and up on odds. If you want to always force it in one direction on a .5 (or .05 in your case) add or