ISEVEN

The ISEVEN function evaluates a value and returns the logical value True if it is even and False otherwise.

Syntax

ISEVEN(
    number
)

Parameters
  • number: Value to evaluate.
Returned value

The ISEVEN function returns a Boolean.

Additional Information

If the number to be evaluated is not an integer, ISEVEN rounds it to the nearest integer. In this way, ISEVEN(1.2) is equivalent to ISEVEN(1), and ISEVEN(1.9) is equivalent to ISEVEN(2).

If the value is not a number, ISEVEN returns the #VALUE! error.

Examples

In this example, the ISEVEN function is applied to different numbers (integers, fractional numbers, positive and negative). Notice how the function rounds non-integer numbers to the nearest integer:

ISEVEN function. Example of use

Related functions
Category
Information
Submitted by admin on Tue, 12/04/2018 - 12:04