php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #67702 Unexpected return
Submitted: 2014-07-29 02:03 UTC Modified: 2015-08-22 17:59 UTC
Votes:2
Avg. Score:1.0 ± 0.0
Reproduced:0 of 2 (0.0%)
From: ricardo at multdata dot com dot br Assigned:
Status: Not a bug Package: Unknown/Other Function
PHP Version: 5.5.15 OS: Windows 8.1
Private report: No CVE-ID: None
View Add Comment Developer Edit
Welcome! If you don't have a Git account, you can't do anything here.
You can add a comment by following this link or if you reported this bug, you can edit this bug over here.
(description)
Block user comment
Status: Assign to:
Package:
Bug Type:
Summary:
From: ricardo at multdata dot com dot br
New email:
PHP Version: OS:

 

 [2014-07-29 02:03 UTC] ricardo at multdata dot com dot br
Description:
------------
---
From manual page: http://www.php.net/function.number-format
---


Test script:
---------------
$a = 1;
echo number_format($a, 2, ',', '');

Actual result = 1

expected result = 1.00


Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2014-07-29 02:06 UTC] ricardo at multdata dot com dot br
Sorry, correct result expected 1,00
 [2014-07-29 02:36 UTC] anon at anon dot anon
Works for me.
 [2015-08-22 17:59 UTC] jhdxr@php.net
-Status: Open +Status: Not a bug
 [2015-08-22 17:59 UTC] jhdxr@php.net
Thank you for taking the time to report a problem with PHP.
Unfortunately you are not using a current version of PHP -- 
the problem might already be fixed. Please download a new
PHP version from http://www.php.net/downloads.php

If you are able to reproduce the bug with one of the latest
versions of PHP, please change the PHP version on this bug report
to the version you tested and change the status back to "Open".
Again, thank you for your continued support of PHP.


 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Sun May 05 13:01:30 2024 UTC