Early Access: The content on this website is provided for informational purposes only in connection with pre-General Availability Qlik Products.
All content is subject to change and is provided without warranty.
Skip to main content Skip to complementary content

Even - script and chart function

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

Syntax:  

Even(integer_number)

Return data type: Boolean

Examples and results:  

Examples and results
Examples Results

Even( 3 )

Returns 0, False

Even( 2 * 10 )

Returns -1, True

Even( 3.14 )

Returns NULL

Did this page help you?

If you find any issues with this page or its content – a typo, a missing step, or a technical error – let us know how we can improve!