Important Notice
The pages on this site contain documentation for very old MS-DOS software,
purely for historical purposes.
If you're looking for up-to-date documentation, particularly for programming,
you should not rely on the information found here, as it will be woefully
out of date.
Trunc Function
◄Summary► ◄Details► ◄Example► ◄Back►
FUNCTION Trunc( number : <integer or real type> ) : LongInt;
Returns a truncated integer for an integer or real value
Unit: System (used automatically)
See also: Abs, Frac, Int, Odd, Pi, Random, Randomize, Round,
Sqr, Sqrt