fpc/tests/tbs0065.pp
1998-12-02 13:05:01 +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.