Odd
  • 27 May 2022
  • 1 Minute to read
  • Dark
    Light
  • PDF

Odd

  • Dark
    Light
  • PDF

Article Summary

Returns the given number, rounded up to the nearest odd integer. If the given number is an odd integer, returns itself.

Function signature

ODD(number: Number) => Number
ParameterDescription
NumberNumber to round

Examples

FormulaReturn value
ODD(2)3
ODD(0)1
ODD(-2)-3
ODD(-12.3)-13
ODD(12.3)13
ODD(826.745)827
ODD(-110.2)-111

Was this article helpful?

What's Next