note 11709 added to number_format

From: Date: Sat, 03 Mar 2001 09:11:21 +0000
Subject: note 11709 added to number_format
Groups: php.notes 
Request: Send a blank email to php-notes+get-11811@lists.php.net to get a copy of this message
Yes indeed, the rounding is buggy, at least in 4.0.1pl2. I'm going to upgrade to 4.0.4p? soon. Hopefully the rounding will be fixed. Also, there is no way to get it to drop trailing zeros. sprintf is more powerful in many ways. Oh well. http://www.php.net/manual/en/function.number-format.php

« previous php.notes (#11811) next »