summaryrefslogtreecommitdiff
path: root/fpcdocs/refex/ex62.pp
blob: 51db4637eea4c6a90a442d291f5fe09443e147ba (plain)
1
2
3
4
5
6
7
8
Program Example62;

{ Program to demonstrate the Sin function. }

begin
  Writeln (Sin(Pi):0:1);   { Prints 0.0 }
  Writeln (Sin(Pi/2):0:1); { Prints 1.0 }
end.