You have a setting in PHP.ini that set valid digits to 14.
You may want to change that setting? Not recommended, but fully
possible.
Sur-Php wrote:
> 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:[EMAIL PROTECTED]
--
Michel Laine
Engineer / Network Administrator
SYSTEM TECHNOLOGY SWEDEN AB
Phone:(+46)-8-982255
Fax:(+46)-8-982060
Snail mail: Vretenvagen 2, 171 54 SOLNA, SWEDEN
E-mail: [EMAIL PROTECTED]
WWW: http://www.systemtech.se
--
PHP Windows 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]