#34933 [Opn->Csd]: bug on function.number-format.html
| From: | vrana@php.net | Date: | Fri, 21 Oct 2005 15:22:31 +0000 |
| Subject: | #34933 [Opn->Csd]: bug on function.number-format.html | ||
| References: | 1 | Groups: | php.doc |
| Request: | Send a blank email to phpdoc+get-969370651@lists.php.net to get a copy of this message | ||
ID: 34933
Updated by: vrana@php.net
-Summary: [chm] bug on function.number-format.html
Reported By: richard dot quadling at bandvulc dot co dot uk
-Status: Open
+Status: Closed
Bug Type: Documentation problem
Operating System: windows
PHP Version: Irrelevant
New Comment:
This bug has been fixed in the documentation's XML sources. Since the
online and downloadable versions of the documentation need some time
to get updated, we would like to ask you to be a bit patient.
Thank you for the report, and for helping us make our documentation
better.
Previous Comments:
------------------------------------------------------------------------
[2005-10-21 10:29:21] richard dot quadling at bandvulc dot co dot uk
Yes. That is what threw me. I saw foo and f000.
Whereas bar and b000 is more obvious.
------------------------------------------------------------------------
[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