Spread WPF Documentation
ODD
Spread WPF Documentation > Formula Reference > Formula Functions > ODD

Summary

This function rounds the specified value up to the nearest odd integer.

Syntax

ODD(value)

Arguments

The argument can be any numeric value.

Remarks

Regardless of the sign of the number specified by the argument, the number is rounded away from zero.

Data Types

Accepts numeric data. Returns numeric data.

Examples

ODD(A3)

ODD(R1C2)

ODD(4) gives the result 5

ODD(-2.5) gives the result -3

See Also