RE: [PHP] Need unrounded precision
| From: | Jaime Bozza | Date: | Mon, 12 Oct 2009 16:33:10 +0000 |
| Subject: | RE: [PHP] Need unrounded precision | ||
| References: | 1 2 3 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-298869@lists.php.net to get a copy of this message | ||
>> Hmmm... Didn't think about this, but % only works with int values
>
>it was just future prof precaution since this statement is false for many other languages.
>In few words I am not sure PHP6 does the same ... never mind so far
Good to know. In that case, I would probably just use intval() instead of >> since it's
clearer and bitwise shifts aren't necessarily integer only either.
Jaime