Re: is it bug ?

From: Date: Wed, 12 Sep 2001 07:59:06 +0000
Subject: Re: is it bug ?
References: 1  Groups: php.windows 
Request: Send a blank email to php-windows+get-9327@lists.php.net to get a copy of this message
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:sur_php@yahoo.com -- 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: michel@systemtech.se WWW: http://www.systemtech.se

« previous php.windows (#9327) next »