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

From Apache OpenOffice Wiki
Jump to: navigation, search
Line 115: Line 115:
 
: returns <tt>'''-5'''</tt>.
 
: returns <tt>'''-5'''</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:08, 16 July 2018


ODD

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

Syntax:

ODD(number)

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

Example:

ODD(1.2)

returns 3.

ODD(1)

returns 1.

ODD(0)

returns 0.

ODD(-3.1)

returns -5.



See Also
Retrieved from "https://wiki.openoffice.org/w/index.php?title=Documentation/How_Tos/Calc:_ODD_function&oldid=243293"
Views
Personal tools
Navigation
Tools