Skip to main content

ODD function

Odd number function. ODD(x) returns 1 (=TRUE) when x is an odd number, else this function returns 0 (=FALSE).

The argument x can be a real number or a matrix. When it is a matrix, the function returns a matrix with the same dimensions and with the ODD function applied to all elements.

Example

ODD(2) returns FALSE.

Calculator

ODD 1

Related functions