tb0058.pp 295 B

12345678910111213
  1. { Old file: tbs0065.pp }
  2. { shows that frac() doesn't work correctly. OK 0.99.1 (PFV) }
  3. Program Example27;
  4. { Program to demonstrate the Frac function. }
  5. Var R : Real;
  6. begin
  7. Writeln (Frac (123.456):0:3); { Prints O.456 }
  8. Writeln (Frac (-123.456):0:3); { Prints -O.456 }
  9. end.