Previous: RmDir procedure To the Table of Content Next: Round64 function

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

Round function

Targets: MS-DOS, OS/2, Win32


System Unit

Rounds an Extended-type value to 32bit Integer-type value.

Declaration:
function Round(X: Extended): Longint;
Remarks:
Round returns X, rounded to the nearest whole number, as a Longint.

Example:
 i := Round(-456.332);    // -456
 i := Round(1231.98192);  // 1232
See also:
Round64
Trunc
Trunc64


Previous: RmDir procedure To the Table of Content Next: Round64 function
RmDir procedure Table of Content Round64 function

- 4.62.2.73 -