Greetings,
Explain to me why the first condition fails!
<?php
$fFloat1 = 3.55 + 60.12;
$fFloat2 = 63.67;
if ( $fFloat1 == $fFloat2 )
print "Equal";
else
print "Not Equal";
settype($fFloat1, "string");
settype($fFloat1, "double");
if ( $fFloat1 == $fFloat2 )
print "Equal";
else
print "Not Equal";
?>
Thanks,
Matthew
--
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]