Re: Loss of precision in intval()
| From: | Eric Butera | Date: | Wed, 01 Aug 2007 17:32:44 +0000 |
| Subject: | Re: Loss of precision in intval() | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-260011@lists.php.net to get a copy of this message | ||
On 8/1/07, Mark Summers <mark@metacharge.com> wrote:
> 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
>
>
What exactly were you expecting it to do? :)