On Fri, 22 Jun 2001, Martijn van Exel wrote:

> What _is_ the way to test for odd/even then!?

A common way is:

$number % 2

which will be 1 for odd numbers and 0 for even numbers.

-- 
Mother is the name for GOD on the lips and
hearts of all children.  - Eric Draven

Reply via email to