RE: Need unrounded precision

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



>> 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


-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux