summaryrefslogtreecommitdiff
path: root/fpcdocs/refex/ex66.pp
blob: e35d11f9092e9ae853a7b427a95e5fbe20508f27 (plain)
1
2
3
4
5
6
7
8
Program Example66;

{ Program to demonstrate the Sqrt function. }

begin
  Writeln (Sqrt(4):0:3); { Prints 2.000 }
  Writeln (Sqrt(2):0:3); { Prints 1.414 }
end.