ex54.pp 259 B

12345678910
  1. Program Example54;
  2. { Program to demonstrate the Round function. }
  3. begin
  4. Writeln (Round(123.456)); { Prints 124 }
  5. Writeln (Round(-123.456)); { Prints -124 }
  6. Writeln (Round(12.3456)); { Prints 12 }
  7. Writeln (Round(-12.3456)); { Prints -12 }
  8. end.