#34933 [Bgs->Opn]: [chm] bug on function.number-format.html

From: Date: Thu, 20 Oct 2005 15:32:27 +0000
Subject: #34933 [Bgs->Opn]: [chm] bug on function.number-format.html
References: 1  Groups: php.doc 
Request: Send a blank email to phpdoc+get-969370638@lists.php.net to get a copy of this message
ID: 34933 Updated by: mgf@php.net Reported By: richard dot quadling at bandvulc dot co dot uk -Status: Bogus +Status: Open Bug Type: Documentation problem Operating System: windows PHP Version: Irrelevant New Comment: 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. Previous Comments: ------------------------------------------------------------------------ [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

« previous php.doc (#969370638) next »