Re: [PHP-DEV] PHP 4.0 Bug #7307: New Feature: Function for checking odd Numbers? From: Derick Rethans (d.rethans <email protected>)
Date: 10/18/00

Hello,

no need for this:

function is_odd ($n)
{
    return (($n%2)!=0);
}

function is_even ($n)
{
    return (($n%2)==0);
}

d

aheckmeier <email protected> wrote:

> From: aheckmeier <email protected>
> 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 <email protected>
> For additional commands, e-mail: php-dev-help <email protected>
> To contact the list administrators, e-mail: php-list-admin <email protected>

--
Derick Rethans
JDI Media Solutions

H.v.Tussenbroekstraat 1 6952 BL Dieren The Netherlands

e-mail: d.rethans <email protected> http://www.jdimedia.nl/