Function Round (X : real) : Longint;
Round rounds X to the closest integer, which may be bigger or smaller than X.
None.
Program Example54; { Program to demonstrate the Round function. } begin Writeln (Round(123.456)); { Prints 124 } Writeln (Round(-123.456)); { Prints -124 } Writeln (Round(12.3456)); { Prints 12 } Writeln (Round(-12.3456)); { Prints -12 } end.