fpc/bugs/bug0065.pp
1998-03-25 11:26:49 +00:00

11 lines
195 B
ObjectPascal

Program Example27;
{ Program to demonstrate the Frac function. }
Var R : Real;
begin
Writeln (Frac (123.456):0:3); { Prints O.456 }
Writeln (Frac (-123.456):0:3); { Prints -O.456 }
end.