what is quicker...
| From: | Bojan Gajic | Date: | Fri, 16 Feb 2001 03:11:42 +0000 |
| Subject: | what is quicker... | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-40062@lists.php.net to get a copy of this message | ||
I have to detect wheater some number can be divided with 100.
About 4M times per day.
So, what is quicker:
1. if($num==fun($num/100)), where fun is round/ceil/floor, or
2. if($num%100), or
3. something else...
$num is int, of course
TIA
bojan