#34933 [Opn]: [chm] bug on function.number-format.html
| From: | richard dot quadling at bandvulc dot co dot uk | Date: | Fri, 21 Oct 2005 08:29:22 +0000 |
| Subject: | #34933 [Opn]: [chm] bug on function.number-format.html | ||
| References: | 1 | Groups: | php.doc |
| Request: | Send a blank email to phpdoc+get-969370643@lists.php.net to get a copy of this message | ||
ID: 34933
User updated by: richard dot quadling at bandvulc dot co dot uk
Reported By: richard dot quadling at bandvulc dot co dot uk
Status: Open
Bug Type: Documentation problem
Operating System: windows
PHP Version: Irrelevant
New Comment:
Yes. That is what threw me. I saw foo and f000.
Whereas bar and b000 is more obvious.
Previous Comments:
------------------------------------------------------------------------
[2005-10-20 17:32:27] mgf@php.net
Quite. Nonetheless, this is not, perhaps, the most felicitous of
examples. It would be better to use a value other than 'foo' (such as
'bar' ;) to make it quite clear what's going on.
------------------------------------------------------------------------
[2005-10-20 16:49:11] richard dot quadling at bandvulc dot co dot uk
RTFM
------------------------------------------------------------------------
[2005-10-20 16:47:53] richard dot quadling at bandvulc dot co dot uk
Description:
------------
I have found a bug on page function.number-format.html
[chm date: 2005-10-04]...
The foo parameter has become f00. lowercase-O became zero.
Expected result:
----------------
Only the first character of thousands_sep is used. For example, if you
use foo as thousands_sep on the number 1000, number_format() will
return 1foo0.
Actual result:
--------------
Only the first character of thousands_sep is used. For example, if you
use foo as thousands_sep on the number 1000, number_format() will
return 1f000.
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=34933&edit=1