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