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