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

From Apache OpenOffice Wiki
Jump to: navigation, search
m
m
 
(2 intermediate revisions by 2 users not shown)
Line 1: Line 1:
__NOTOC__
+
{{DISPLAYTITLE:EVEN function}}
 +
{{Documentation/CalcFunc MathematicalTOC
 +
|ShowPrevNext=block
 +
|PrevPage=Documentation/How_Tos/Calc:_FLOOR_function
 +
|NextPage=Documentation/How_Tos/Calc:_ODD_function
 +
}}__NOTOC__
  
 
== EVEN ==
 
== EVEN ==
Line 22: Line 27:
 
: 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]]

Latest revision as of 14:50, 31 January 2024

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=259865"
Views
Personal tools
Navigation
Tools
In other languages