help files
Z505 | PasWiki | FUQ | Search | Main Docs | API Guide



[Overview][Constants][Types][Classes][Procedures and functions][Variables] Reference for unit 'System' (#rtl)

pi

Return the value of PI.

Declaration

Source position: mathh.inc line 59

function pi: ValReal;

Description

Pi returns the value of Pi (3.1415926535897932385).

Errors

None.

See also

Cos

  

Calculate cosine of angle

Sin

  

Calculate sine of angle

Example

Program Example47;

{ Program to demonstrate the Pi function. }

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

Notes

 No notes exist for this page yet. 





lufdoc, Powtils, fpc, freepascal, delphi, kylix, c/c++, mysql, cgi web framework docs, Z505