Re: Loss of precision in intval()

From: Date: Wed, 01 Aug 2007 17:47:53 +0000
Subject: Re: Loss of precision in intval()
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-260015@lists.php.net to get a copy of this message
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" <mark@metacharge.com> 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


« previous php.general (#260015) next »