![]() |
detect an odd or even number function
Is there a php function to detect an odd or an even number?
|
There is now (see below). Just use the modulus. Like
PHP Code:
|
| All times are GMT +1. The time now is 04:07 PM. |
Powered by vBulletin® Version 3.8.2
Copyright ©2000 - 2010, Jelsoft Enterprises Ltd.