Previous: Insert procedure To the Table of Content Next: IOResult function

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

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: Insert procedure To the Table of Content Next: IOResult function
Insert procedure Table of Content IOResult function

- 4.62.2.43 -