The ODD function returns the number passed as an argument rounded to the nearest odd number that is greater than or equal to the argument considered in absolute value (that is, it returns the closest odd number that is farther from zero than the number in question).
ODD(
number
)
- number: Number to round.
The ODD function returns an integer.
If number is a positive value, ODD returns the odd integer greater than or equal to number closest to it. However, if number is a negative number, ODD returns the odd less than or equal to number closest to it. That is, the ODD function preserves the sign of the number:
If number is an odd number, the ODD function returns the same number.