php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Request #3819 number_format should allow choice to not default to comma sep for thousands sep
Submitted: 2000-03-13 13:19 UTC Modified: 2001-02-10 14:13 UTC
From: chall5 at tampabay dot rr dot com Assigned:
Status: Closed Package: Feature/Change Request
PHP Version: 3.0.12 OS: Solaris
Private report: No CVE-ID: None
 [2000-03-13 13:19 UTC] chall5 at tampabay dot rr dot com
<? echo number_format(1000, 2, ".", ""); ?>

this results in 1,000.00

a blank thousands separator should be allowed.

ie, 1000.00 should be the resulting output from above code.

first noticed in php v3.0.12 and also verified to happen in php v4.0b4pl1

would be a nice option to have.

Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2001-02-10 14:13 UTC] jimw@php.net
appears to have been fixed in 4.0.something.
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Sun May 19 15:01:31 2024 UTC