ID: 34933 Updated by: [EMAIL PROTECTED] -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] [EMAIL PROTECTED] 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