Int(Function)

Converts the numeric value given into an integer value.

Int (<expression>)

Parameters
<expression>
The expression (double-precision type) that requests the integer.

Return Value
Returns the value of the integer.
The content of the value is the integer that does not exceed the maximum of the specified expression.

Description
Discards everything after the radix point for the specified value and returns the integer that does not exceed the maximum of the specified numeric value.For example, Int(-1.23) would become -2 after execution and Int(1.23) would become 1 after execution.
Specify either an integer type or double-precision type real number in the <Expression>
When an argument has been given a negative value, Fix returns the minimum negative integer exceeding the argument as opposed to the Int argument, which returns an integer that does not exceed the maximum negative of the argument.For example, if -7.2 is specified as the argument, the Int function returns -8 and the Fix function returns -7.

Example
Truncate the measurement results after the radix point and output them.
      NUMBER1&=Int(9.7)
        NUMBER2&=Int(-9.7)
        NUMBER3&=Int(-9.2)

The results are as follows:
NUMBER1&=9
NUMBER2&=-10
NUMBER3&=-10