Odd
Use
The Odd() function returns the next odd number, rounding up away from zero.
Units
Numbers with units will be rounded based on those units. This means that the unit a number has at the point of calculation will affect the answer.
For example, Odd(5.8ft) to mm and Odd(5.8 ft to mm) will return values that are not equal.
Examples
Odd(1.8) = 3Odd(1.2) = 3Odd(-1.8) = -3Odd(3.2 ft) = 5ftOdd(3.2 ft) to mm = 1524 mmOdd(3.2 ft to mm) = 977 mm
| Function |
Odd(number)
|
Odd is included by default in each file as part of the Math library.
See also: