Documentation/Calc Functions/EVEN/en

Function name:
EVEN

Category:
Mathematical

Summary:
Rounds a positive number up to the next even integer and a negative number down to the next even integer.

Syntax:
EVEN(Number)

Returns:
Returns an integer value, that is the rounded version of the original number.

Arguments:
Number is a real number, or a reference to the cell containing that number, that is to be rounded.


 * If Number is non-numeric, then EVEN reports a #VALUE! error.

= Additional details: =


 * Returns an even integer whose sign is the same as that of Number. The value returned should have the minimum absolute value that is greater than or equal to the absolute value of Number.


 * If Number is equal to 0, then EVEN returns 0.

Related LibreOffice functions:
ODD

ODF standard:
Section 6.16.30, part 2

Equivalent Excel functions:
EVEN