MROUND
Description: Returns a number rounded to the desired multiple.
Syntax: MROUND(Number, Multiple)
- Number is the value to round.
- Multiple is the multiple to which you want to round Number.
Remarks:
- MROUND rounds up, away from zero, if the remainder of dividing Number by Multiple is greater than or equal to half the value of Multiple.
- When used in an event analysis flowchart, the parameters must evaluate to numerical values. They can include:
-
Numerical values
-
Standard operands (+, -, *, /)
-
Predefined mathematical functions (exp, log, sin, etc.)
-
References to any ReliaSoft Workbooks
Example:
- MROUND(10, 3) = 9 [rounds 10 to a nearest multiple of 3]