TRUNCATE

TRUNCATE(real_value)

real_valueThe floating-point value to truncate.
Return:TRUNCATE returns a single integer value.

The TRUNCATE function returns the integer portion of the real_value.

Example:

MyRealValue := 3.75;
INTEGER4 MyValue := TRUNCATE(MyRealValue); 
OUTPUT(MyValue); // MyValue is 3

See Also: ROUND, ROUNDUP