Bug #13537: number_format looses value integrity

From: Date: Thu, 04 Oct 2001 09:46:26 +0000
Subject: Bug #13537: number_format looses value integrity
Groups: php.dev 
Request: Send a blank email to php-dev+get-67252@lists.php.net to get a copy of this message
From: assid@assid.com Operating system: linux PHP version: 4.0.6 PHP Bug Type: *Math Functions Bug description: number_format looses value integrity try out this code <? $a=number_format(200000); $b=number_format(-2000); $c = $a + $b; echo "$$a is $a <BR> \$b is $b <BR> \$c is $c"; ?> isnt it supposed $c supposed to be 198,000 ? -- Edit bug report at: http://bugs.php.net/?id=13537&edit=1

« previous php.dev (#67252) next »