TRUNC(A)
Rounds A to an integer with truncation towards zero. (e.g. -1.7 truncated to -1, 2.8 truncated to 2)
Integer TRUNC(Float A)
A - Float value. If it is not of type float, it is implicitly converted to type float.
Rounds A to an integer with truncation towards zero. (e.g. -1.7 truncated to -1, 2.8 truncated to 2)
> PRINT TRUNC(0.3)
0
> PRINT TRUNC(0.7)
0
> PRINT TRUNC(-0.3)
0
> PRINT TRUNC(-0.7)
0