Trunc
Type Conversion Function
The Trunc function returns a real expression truncated to an integer. Any digits to the right of the decimal place are removed.
Syntax
Trunc(<expression>)
Syntax Example
Integer1=Trunc(3.9)
Parameters
(<expression>)
A real expression that you would like truncated.
Parameter Example
The following example shows the truncated value of 10.9 each time an Entity enters the Truck Location.
Display Trunc(10.9)
Remarks
Trunc returns an integer.