Re: If value is odd or not
| From: | Jochem Maas | Date: | Fri, 02 Jun 2006 14:13:28 +0000 |
| Subject: | Re: If value is odd or not | ||
| References: | 1 2 3 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-237270@lists.php.net to get a copy of this message | ||
John Nichel wrote:
Jochem Maas wrote:LOL.Jonas Rosling wrote:if ( is_int ( $value / 2 ) ) {Hi all, is there any easy why to check if a value is odd or not?ignore every answer that doesn't use the % operator.// Even}
:-p