ODD function

From Apache OpenOffice Wiki
< Documentation‎ | How Tos
Revision as of 14:51, 31 January 2024 by DiGro (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

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

Personal tools
In other languages