Documentation/How Tos/Calc: EVEN function

From Apache OpenOffice Wiki
< Documentation‎ | How Tos
Revision as of 16:42, 8 December 2007 by Drking (Talk | contribs)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search


EVEN

Rounds a number up, away from zero, to the next even integer.

Syntax:

EVEN(number)

returns number rounded to the next even integer up, away from zero.

Example:

EVEN(2.3)

returns 4.

EVEN(2)

returns 2.

EVEN(0)

returns 0.

EVEN(-0.5)

returns -2.


See also:

CEILING, FLOOR, ODD, MROUND

INT, TRUNC, ROUND, ROUNDDOWN, ROUNDUP

Mathematical functions

Personal tools