Skip to main content Skip to complementary content

Odd

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:  

  • Odd( 3 ): returns -1, True
  • Odd( 2 * 10 ): returns 0, False
  • Odd( 3.14 ): returns NULL

Learn more

 

Join the Analytics Modernization Program

Remove banner from view

Modernize without compromising your valuable QlikView apps with the Analytics Modernization Program. Click here for more information or reach out: ampquestions@qlik.com