next up previous contents index
Next: Pos Up: Functions and Procedures Previous: Paramstr

Pi

   

Declaration:

Function Pi : Real;

Description:

Pi returns the value of Pi (3.1415926535897932385).

Errors:

None.

See also:

Cos, Sin

Example
Program Example47;

{ Program to demonstrate the Pi function. }

begin
  Writeln (Pi);         {3.1415926}
  Writeln (Sin(Pi));
end.



Michael Van Canneyt
Thu Sep 10 14:02:43 CEST 1998