php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Request #21740 number_format wrong output
Submitted: 2003-01-18 22:07 UTC Modified: 2003-01-19 10:45 UTC
From: uwe at inet-profis dot de Assigned:
Status: Closed Package: Feature/Change Request
PHP Version: 4.3.0 OS: win2000
Private report: No CVE-ID: None
 [2003-01-18 22:07 UTC] uwe at inet-profis dot de
the function number_format returns a wrong string (different char in front of the number) when the number to convert is not over 1.000 and a 'string thousands_sep' is set.

Patches

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2003-01-19 03:54 UTC] wez@php.net
Please try using this CVS snapshot:

  http://snaps.php.net/php4-STABLE-latest.tar.gz
 
For Windows:
 
  http://snaps.php.net/win32/php4-win32-STABLE-latest.zip

There have been some fixes to this function; try a snapshot.
 [2003-01-19 10:35 UTC] uwe at inet-profis dot de
With the latest snapshot the bug is fixed ....
 [2003-01-19 10:45 UTC] wez@php.net
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.


 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Fri Aug 16 10:01:28 2024 UTC