RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
System.Pi Function

Returns 3.1415926535897932385.

Pascal
function Pi: Extended;
C++
Extended Pi();

System

Use Pi in Delphi code to represent the mathematical value pi, the ratio of a circle's circumference to its diameter. Pi is approximated as 3.1415926535897932385. 

 

Copyright(C) 2008 CodeGear(TM). All Rights Reserved.
What do you think about this topic? Send feedback!