ISEVEN
Last updated
Was this helpful?
Last updated
Was this helpful?
The function ISEVEN outputs TRUE if the given Number is even.
This function takes a as input. It outputs a : TRUE if the given Number is even, FALSE if it isn't.
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.
The following example checks to see if the number three is even. It isn't:
The following example checks to see if the number two is even. It is:
The following example checks to see if the number 2.2 is odd. It isn't, because 2.2 isn't an integer:
The function ISEVEN can be considered the opposite of the function – in cases where ISEVEN will output TRUE, ISODD will output FALSE, and visa versa.