#21684 [NEW]: buggy number_format()
| From: | thank dot you at for dot your dot spam dot org | Date: | Thu, 16 Jan 2003 10:50:08 +0000 |
| Subject: | #21684 [NEW]: buggy number_format() | ||
| Groups: | php.bugs | ||
| Request: | Send a blank email to php-bugs+get-30246@lists.php.net to get a copy of this message | ||
From: thank.you@for.your.spam.org
Operating system: Windows XP
PHP version: 4CVS-2003-01-16 (stable)
PHP Bug Type: Unknown/Other Function
Bug description: buggy number_format()
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 bug report at http://bugs.php.net/?id=21684&edit=1
--
Try a CVS snapshot: http://bugs.php.net/fix.php?id=21684&r=trysnapshot
Fixed in CVS: http://bugs.php.net/fix.php?id=21684&r=fixedcvs
Fixed in release: http://bugs.php.net/fix.php?id=21684&r=alreadyfixed
Need backtrace: http://bugs.php.net/fix.php?id=21684&r=needtrace
Try newer version: http://bugs.php.net/fix.php?id=21684&r=oldversion
Not developer issue: http://bugs.php.net/fix.php?id=21684&r=support
Expected behavior: http://bugs.php.net/fix.php?id=21684&r=notwrong
Not enough info: http://bugs.php.net/fix.php?id=21684&r=notenoughinfo
Submitted twice: http://bugs.php.net/fix.php?id=21684&r=submittedtwice
register_globals: http://bugs.php.net/fix.php?id=21684&r=globals
PHP 3 support discontinued: http://bugs.php.net/fix.php?id=21684&r=php3
Daylight Savings: http://bugs.php.net/fix.php?id=21684&r=dst
IIS Stability: http://bugs.php.net/fix.php?id=21684&r=isapi
Install GNU Sed: http://bugs.php.net/fix.php?id=21684&r=gnused