ex54.pp 263 B

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