IEC operator⮫ “Overview”: Converting from REAL to INT. The whole number portion of the value will be used.
When you perform a type conversion from a larger to a smaller type, you risk losing some information.
Examples in ST:
i:=TRUNC(1.9); (* Result is 1 *) i:=TRUNC(-1.4); (* Result is -1 *)