Previous: SwapArgs procedure To the Table of Content Next: Trunc64 function

- 4.62.2.89 -
Standard Units
System Unit
System Unit Procedures and Functions

Trunc function

Targets: MS-DOS, OS/2, Win32


System Unit

Truncates a real-type value to 32bit Integer-type value.

Declaration:
function Trunc(X: Extended): Longint;
Remarks:
X is either Single, Double, or Extended. Trunc returns X, rounded towards zero, as a Longint.

See also:
Round
Round64
Trunc64


Previous: SwapArgs procedure To the Table of Content Next: Trunc64 function
SwapArgs procedure Table of Content Trunc64 function

- 4.62.2.89 -