Pi is represented by the symbol π, and is the ratio of the circumference of a circle to its diameter.

The function Pi returns the value 3.14159265358979.

To 39 decimal places, Pi is 3.141592653589793238462643383279502884197.

Declaration: Function Pi : Extended;

Example

procedure OnMapEvent(var Value:Variant);
begin
//Returns 3.14159265358979
Value := Pi;
end;