Documentation/How Tos/Calc: EVEN function

From Apache OpenOffice Wiki
< Documentation‎ | How Tos
Revision as of 07:17, 13 September 2008 by Drking (Talk | contribs)

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

Functions listed alphabetically, Functions listed by category

Personal tools