Round
Math Function
The Round function replaces an expression with the nearest whole number. Use this function to override ProModel's default, truncation.
Syntax
Round(<expression>)
Syntax Example
Integer1 = Round(3.5)
Parameters
(<expression>)
A number or variable defined in your model to replace with the nearest whole number.
Parameter Example
The following example displays rounding the number 9.6 when an Entity enters the Truck Location.
Display Round(9.6)
Remarks
The Round function returns an integer.