EVEN

The EVEN function returns the number passed as an argument rounded to the nearest even number that is greater than or equal to the argument considered in absolute value (that is, to the closest even number that is farther from zero than the number in question).

Syntax

EVEN(
    number
)

Parameters
  • number: Number to round.
Returned value

The EVEN function returns an integer.

Additional Information

If number is a positive value, EVEN returns the closest even number greater than or equal to number. However, if number is a negative number, EVEN returns the closest pair less than or equal to number. That is, the EVEN function preserves the sign of the number:

EVEN function. Example of use

If number is an integer and even number, the same number is returned.

Related functions
Category
Mathematical and trigonometric
Submitted by admin on Tue, 12/04/2018 - 12:48