ID: 9356
Updated by: hholzgra
Reported By: [EMAIL PROTECTED]
Old-Status: Open
Status: Assigned
Old-Bug Type: Variables related
Bug Type: Documentation problem
Assigned To: 
Comments:

the good old rounding problem again 

... have to get what i have written about it and put it into FAQ and manual ...

Previous Comments:
---------------------------------------------------------------------------

[2001-02-20 15:55:08] [EMAIL PROTECTED]
http://www.tpsa.com/settype.php
http://www.tpsa.com/settype.phps

it has phpinfo(); in it

sniplet:

$zzz=(10*(10.2-1));
$zzztype=gettype($zzz);
echo "$zzz = $zzz and is $zzztype<br>";
settype($zzz, "integer");
echo "after settype to integer: $zzz = $zzz <br>";

$zz=(10*(1.2-1));
$zztype=gettype($zz);
echo "$zz = $zz and is $zztype<br>";
settype($zz, "integer");
echo "after settype to integer: $zz = $zz <br>";

---------------------------------------------------------------------------



ATTENTION! Do NOT reply to this email!
To reply, use the web interface found at http://bugs.php.net/?id=9356&edit=2


-- 
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