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:

SomeRealValue := 3.75;
INTEGER4 MyVal := TRUNCATE(SomeRealValue); // MyVal is 3

See Also: ROUND, ROUNDUP