ID:               28228
 Updated by:       [EMAIL PROTECTED]
 Reported By:      bichinhoverde at spwinternet dot com dot br
-Status:           Open
+Status:           Feedback
 Bug Type:         Unknown/Other Function
 Operating System: windows and linux
 PHP Version:      4.3.6
 New Comment:

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


Previous Comments:
------------------------------------------------------------------------

[2004-04-30 02:49:02] bichinhoverde at spwinternet dot com dot br

Description:
------------
When I put an empty string '' as the decimal point in the number_format
function, it uses the dot '.' as decimal point.

The function works well for the thousands separator.

Reproduce code:
---------------
print number_format(1234.5678, 2, '', '');


Expected result:
----------------
123457

Actual result:
--------------
1234.57


------------------------------------------------------------------------


-- 
Edit this bug report at http://bugs.php.net/?id=28228&edit=1

Reply via email to