odd() Function

Function

odd( number )

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

Parameters

Keyword Type Description

number

Decimal

The number that will be rounded.

Returns

Integer

Examples

odd(31.5) returns 33

Open in Github Built: Tue, May 23, 2023 (06:12:33 PM)

On This Page

FEEDBACK