Difference between revisions of "Documentation/How Tos/Calc: EVEN function"

From Apache OpenOffice Wiki
Jump to: navigation, search
Line 115: Line 115:
 
: returns <tt>'''-2'''</tt>.
 
: returns <tt>'''-2'''</tt>.
  
{{Documentation/SeeAlso|
+
{{SeeAlso|EN|
 
* [[Documentation/How_Tos/Calc: CEILING function|CEILING]]
 
* [[Documentation/How_Tos/Calc: CEILING function|CEILING]]
 
* [[Documentation/How_Tos/Calc: FLOOR function|FLOOR]]
 
* [[Documentation/How_Tos/Calc: FLOOR function|FLOOR]]

Revision as of 19:09, 16 July 2018


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
Retrieved from "https://wiki.openoffice.org/w/index.php?title=Documentation/How_Tos/Calc:_EVEN_function&oldid=243295"
Views
Personal tools
Navigation
Tools