Odd - script and chart function

Odd() returns True (-1), if integer_number is an odd integer or zero. It returns False (0), if integer_number is an even integer, and NULL if integer_number is not an integer.

Syntax:  

Odd(integer_number)

Return data type: Boolean

Examples and results:  

Examples Results

Odd( 3 )

Returns -1, True

Odd( 2 * 10 )

Returns 0, False

Odd( 3.14 )

Returns NULL

Did this information help you?

Thanks for letting us know. Is there anything you'd like to tell us about this topic?

Can you tell us why it did not help you and how we can improve it?