#21684 [Opn->Csd]: buggy number_format()

From: Date: Thu, 16 Jan 2003 13:23:00 +0000
Subject: #21684 [Opn->Csd]: buggy number_format()
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-30254@lists.php.net to get a copy of this message
ID: 21684 Updated by: edink@php.net Reported By: thank.you@for.your.spam.org -Status: Open +Status: Closed Bug Type: Unknown/Other Function Operating System: Windows XP PHP Version: 4CVS-2003-01-16 (stable) New Comment: This bug has been fixed in CVS. In case this was a PHP problem, snapshots of the sources are packaged every three hours; this change will be in the next snapshot. You can grab the snapshot at http://snaps.php.net/. In case this was a documentation problem, the fix will show up soon at http://www.php.net/manual/. In case this was a PHP.net website problem, the change will show up on the PHP.net site and on the mirror sites in short time. Thank you for the report, and for helping us make PHP better. Previous Comments: ------------------------------------------------------------------------ [2003-01-16 04:50:08] thank.you@for.your.spam.org C:\>php -v PHP 4.3.1-dev (cli) (built: Jan 16 2003 10:18:39) Copyright (c) 1997-2003 The PHP Group Zend Engine v1.3.0, Copyright (c) 1998-2003 Zend Technologies C:\>php -r "echo number_format(300, 2, ',', '.');" C:\>php -r "echo number_format(300, 2);" ð300.00 C:\>php -r "echo number_format(300);" ðÔ300 ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=21684&edit=1

« previous php.bugs (#30254) next »