Re: floored by floor()
| From: | Shawn McKenzie | Date: | Thu, 14 Oct 2010 18:26:17 +0000 |
| Subject: | Re: floored by floor() | ||
| References: | 1 2 3 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-308722@lists.php.net to get a copy of this message | ||
On 10/14/2010 09:22 AM, Mattias Thorslund wrote:
> Thanks, I guess I needed to read that again. What confused me here was
> that var_dump(327.03 * 100) returns the expected value and not something
> like (float)32702.99999999999999...
>
> Cheers,
>
> Mattias
>
echo serialize(327.03 * 100);
--
Thanks!
-Shawn
http://www.spidean.com