Re: PHP 4.0 Bug #7307: New Feature: Function for checking odd Numbers?
| From: | Derick Rethans | Date: | Wed, 18 Oct 2000 11:48:16 +0000 |
| Subject: | Re: PHP 4.0 Bug #7307: New Feature: Function for checking odd Numbers? | ||
| References: | 1 | Groups: | php.dev |
| Request: | Send a blank email to php-dev+get-35404@lists.php.net to get a copy of this message | ||
Hello,
no need for this:
function is_odd ($n)
{
return (($n%2)!=0);
}
function is_even ($n)
{
return (($n%2)==0);
}
d
aheckmeier@bct-technology.com wrote:
> From: aheckmeier@bct-technology.com
> Operating system: Linux/NT
> PHP version: 4.0.3pl1
> PHP Bug Type: Feature/Change Request
> Bug description: New Feature: Function for checking odd Numbers?
>
> --
> Edit Bug report at: http://bugs.php.net/?id=7307&edit=1
>
> --
> PHP Development Mailing List <http://www.php.net/>
> To unsubscribe, e-mail: php-dev-unsubscribe@lists.php.net
> For additional commands, e-mail: php-dev-help@lists.php.net
> To contact the list administrators, e-mail: php-list-admin@lists.php.net
--
Derick Rethans
JDI Media Solutions
H.v.Tussenbroekstraat 1
6952 BL Dieren
The Netherlands
e-mail: d.rethans@jdimedia.nl
http://www.jdimedia.nl/