ISODD

Returns the boolean value true if the value passed to the function is odd else returns false.

Syntax

= ISODD(value)

Parameters

value

A value which has to be checked.  The value can be specified as an integer (e.g., 37), a decimal value (e.g., 37.48), as a string, or as the value of a variable (e.g, UnitPrice), or as a Date

Return Type

Boolean

Examples

Example

Returns

= ISODD(“$1,2345”)

True

= ISODD(“$-1,234”)

False

= ISODD(UnitPrice)

True if the value of UnitPrice is odd else returns False

= ISODD(“abcd”)

Displays message “ISODD(abcd): Input string was not in a correct format.”