is it bug ?
| From: | sur-php | Date: | Wed, 12 Sep 2001 05:21:40 +0000 |
| Subject: | is it bug ? | ||
| Groups: | php.windows | ||
| Request: | Send a blank email to php-windows+get-9325@lists.php.net to get a copy of this message | ||
Hello php-windows,
for example..
look at this simple script..
====================================
<?
$old=10003.28;
$new=$old-10000;
echo $new;
?>
====================================
it returns
3.2800000000007
it must return
3.28
does anyone know what is problem..
i know that number_format function can ne used here...
but i want to know that is it bug in php
i 'm using
apache 1.3.20 ,
php 4.0.6 as module (php4apache.dll )
under windows 98 SE
anyone ?
--
Best regards,
sur-php mailto:sur_php@yahoo.com