Difference between revisions of "Documentation/How Tos/Calc: EVEN function"
From Apache OpenOffice Wiki
< Documentation | How Tos
(→See also:) |
OOoWikiBot (Talk | contribs) m (Robot: Automated text replacement %s) |
||
Line 22: | Line 22: | ||
: returns <tt>'''-2'''</tt>. | : returns <tt>'''-2'''</tt>. | ||
− | + | {{Documentation/SeeAlso| | |
− | + | * [[Documentation/How_Tos/Calc: CEILING function|CEILING]] | |
− | + | * [[Documentation/How_Tos/Calc: FLOOR function|FLOOR]] | |
− | + | * [[Documentation/How_Tos/Calc: ODD function|ODD]] | |
− | + | * [[Documentation/How_Tos/Calc: MROUND function|MROUND]]''' | |
− | + | * [[Documentation/How_Tos/Calc: INT function|INT]] | |
− | + | * [[Documentation/How_Tos/Calc: TRUNC function|TRUNC]] | |
− | + | * [[Documentation/How_Tos/Calc: ROUND function|ROUND]] | |
− | + | * [[Documentation/How_Tos/Calc: ROUNDDOWN function|ROUNDDOWN]] | |
− | + | * [[Documentation/How_Tos/Calc: ROUNDUP function|ROUNDUP]]''' | |
− | + | * [[Documentation/How_Tos/Calc: Mathematical functions|Mathematical functions]]''' | |
− | [[Documentation/How_Tos/Calc: Functions listed alphabetically| | + | * [[Documentation/How_Tos/Calc: Functions listed alphabetically|Functions listed alphabetically]] |
− | [[Documentation/How_Tos/Calc: Functions listed by category| | + | * [[Documentation/How_Tos/Calc: Functions listed by category|Functions listed by category]]}} |
Revision as of 13:47, 25 February 2009
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.