Rounds a number up to the nearest odd integer.
Questa funzione funziona in Google Sheets esattamente come in Excel — stessa sintassi e stessi argomenti.
ODD(number)The ODD function rounds a positive number away from zero and a negative number toward zero to the nearest odd integer. If the number is already an odd integer, no rounding occurs.
=ODD(1.5)Risultato: 3
Rounds 1.5 up to the nearest odd integer, which is 3.
=ODD(-2)Risultato: -3
Rounds -2 away from zero to the nearest odd integer, which is -3.
It rounds away from zero, meaning positive numbers are rounded up and negative numbers are rounded down.
If the number is already an odd integer, the function returns the number unchanged.