It is most definitely not if what you want is the square root, or the hyperbolic cosine or any other of a zillion things.

----- Original Message ----- From: "Mark Summers" <[EMAIL PROTECTED]>
To: <php-general@lists.php.net>
Sent: Wednesday, August 01, 2007 6:52 PM
Subject: [PHP] Loss of precision in intval()


This sort of thing really isn't helpful...

<?php

$a = 75.82 * 100;

echo intval($a);

?>

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



--
No virus found in this incoming message.
Checked by AVG Free Edition.
Version: 7.5.476 / Virus Database: 269.11.0/929 - Release Date: 31/07/2007 17:26



--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to