#40900 [Opn->Bgs]: differed in formating in php5.0.2 with php5.2.0
| From: | tony2001@php.net | Date: | Fri, 23 Mar 2007 10:58:05 +0000 |
| Subject: | #40900 [Opn->Bgs]: differed in formating in php5.0.2 with php5.2.0 | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-110725@lists.php.net to get a copy of this message | ||
ID: 40900
Updated by: tony2001@php.net
Reported By: p dot sivamurugan at gmail dot com
-Status: Open
+Status: Bogus
-Bug Type: *General Issues
+Bug Type: Strings related
Operating System: windows
PHP Version: 5.2.1
New Comment:
The current behaviour is correct.
Previous Comments:
------------------------------------------------------------------------
[2007-03-23 10:25:32] p dot sivamurugan at gmail dot com
Description:
------------
php5.0.2
php5.2.0
differed in formating
Reproduce code:
---------------
echo $vLTVformated =
"<br>".number_format(0.9800000000000,2,'','');
Expected result:
----------------
php5.0.2 = 98
php5.2.0 = 98
Actual result:
--------------
php5.0.2 = 98
php5.2.0 = 098
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=40900&edit=1