Difference between revisions of "Documentation/How Tos/Calc: ODD function"
From Apache OpenOffice Wiki
< Documentation | How Tos
OOoWikiBot (Talk | contribs) m (Robot: Automated text replacement %s) |
OOoWikiBot (Talk | contribs) m (Bot: Adding Category: Documentation) |
||
Line 38: | Line 38: | ||
* [[Documentation/How_Tos/Calc: Functions listed alphabetically|Functions listed alphabetically]] | * [[Documentation/How_Tos/Calc: Functions listed alphabetically|Functions listed alphabetically]] | ||
* [[Documentation/How_Tos/Calc: Functions listed by category|Functions listed by category]]}} | * [[Documentation/How_Tos/Calc: Functions listed by category|Functions listed by category]]}} | ||
+ | [[Category: Documentation]] |
Revision as of 12:24, 20 November 2009
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.