The ISEVEN function evaluates a value and returns the logical value True if it is even and False otherwise.
ISEVEN(
number
)
- number: Value to evaluate.
The ISEVEN function returns a Boolean.
If the number to be evaluated is not an integer, ISEVEN rounds it to the nearest integer. In this way, ISEVEN(1.2) is equivalent to ISEVEN(1), and ISEVEN(1.9) is equivalent to ISEVEN(2).
If the value is not a number, ISEVEN returns the #VALUE! error.
In this example, the ISEVEN function is applied to different numbers (integers, fractional numbers, positive and negative). Notice how the function rounds non-integer numbers to the nearest integer: