Documentation/Calc Functions/ODD/en

Function name:
ODD

Category:
Mathematical

Summary:
Rounds a positive number up to the next odd integer and a negative number down to the next odd integer.

Syntax:
ODD(Number)

Returns:
Returns an integer value, that is the rounded version of the original number.

Arguments:
Number is a real number, or a reference to the cell containing that number, that is to be rounded.


 * If Number is non-numeric, then ODD reports a #VALUE! error.

Additional details:

 * Returns an odd integer whose sign is the same as that of Number. The value returned should have the minimum absolute value that is greater than or equal to the absolute value of Number.


 * If Number is equal to 0, then ODD returns 0.

Related LibreOffice functions:
EVEN

ODF standard:
Section 6.16.44, part 2

Equivalent Excel functions:
ODD