The function ISEVEN outputs TRUE if the given Number is even.
ISEVEN(number) -> boolean
- number (required, type: Number)
- The number that may or may not be even.
- boolean (type: boolean)
- The result of checking if the given Number is even; TRUE means that it is and FALSE means that it isn't.
ISEVEN(3) -> FALSE
ISEVEN(2) -> TRUE
The following example checks to see if the number 2.2 is odd. It isn't, because 2.2 isn't an integer:
ISEVEN(2.2) -> FALSE
The function ISEVEN can be considered the opposite of the function ISODD – in cases where ISEVEN will output TRUE, ISODD will output FALSE, and visa versa.