Check whether a number is even or odd.
Check whether a number is even or odd.
IsEven(x) IsOdd(x)
x |
An integer or vector of integers. |
Logical indicating whether the argument is even (or odd).
Steven L. Scott
IsEven(2) ## TRUE IsOdd(2) ## FALSE
Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.