odd() Function

Rounds positive numbers up to nearest odd integer and negative numbers down to the nearest odd integer.

Syntax

odd( number )

number: (Decimal) The number that will be rounded.

Returns

Integer

Examples

odd(31.5) returns 33

Open in Github Built: Fri, Jun 24, 2022 (02:09:25 PM)

On This Page

FEEDBACK