Previous: 4.67.2.42. Insert procedure To the Table of Contents Next: 4.67.2.44. IOResult function
4.67.2.42. Insert procedure Table of Contents 4.67.2.44. IOResult function

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


4.67.2.43. Int function

Targets: MS-DOS, OS/2, Win32


System Unit

Returns the Integer part of the argument.

Declaration:
function Int(X: Extended): Extended;
Remarks:
Int returns the integer portion of a real number rounded toward zero.

Example:
  i := Int(-456.332);   // -456<
  i := Int(1231.98192); // 1231



Previous: 4.67.2.42. Insert procedure To the Table of Contents Next: 4.67.2.44. IOResult function
4.67.2.42. Insert procedure Table of Contents 4.67.2.44. IOResult function

- 4.67.2.43. -