ODD
Description: Returns a number rounded up to the nearest odd integer.
Syntax: ODD(Number)
- Number is the value to round.
Remarks:
- Number must be a numeral.
- Regardless of the sign of Number, a value is rounded up when adjusted away from zero. If Number is an odd integer, no rounding occurs.
- When used in an event analysis flowchart, Number must evaluate to a numerical value. It can include:
-
Numerical values
-
Standard operands (+, -, *, /)
-
Predefined mathematical functions (exp, log, sin, etc.)
-
References to any ReliaSoft Workbooks
Example:
- ODD(1.5) = 3 [rounds 1.5 up to the nearest odd integer]