From:             [EMAIL PROTECTED]
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


-- 
PHP Development Mailing List <http://www.php.net/>
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

Reply via email to