mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-04-07 21:07:54 +02:00
11 lines
195 B
ObjectPascal
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.
|