Previous: 4.67.2.88. SwapArgs procedure To the Table of Contents Next: 4.67.2.90. Trunc64 function
4.67.2.88. SwapArgs procedure Table of Contents 4.67.2.90. Trunc64 function

- 4.67.2.89. -
Table of Contents
4. Standard Units
4.67. System - Built-in routines
4.67.2. System Unit Procedures and Functions
4.67.2.89. Trunc function


4.67.2.89. 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: 4.67.2.88. SwapArgs procedure To the Table of Contents Next: 4.67.2.90. Trunc64 function
4.67.2.88. SwapArgs procedure Table of Contents 4.67.2.90. Trunc64 function

- 4.67.2.89. -