ODD
Rounds a number up to the nearest odd integer

Description

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

Function signature

1
ODD(number: Number) => Number
Copied!
Parameter
Description
Number
Number to round

Examples

Formula
Return 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
Last modified 1yr ago
Export as PDF
Copy link