Loss of precision in intval()
| From: | Mark Summers | Date: | Wed, 01 Aug 2007 16:52:31 +0000 |
| Subject: | Loss of precision in intval() | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-260010@lists.php.net to get a copy of this message | ||
This sort of thing really isn't helpful...
<?php
$a = 75.82 * 100;
echo intval($a);
?>