IMath.Pi

Syntax

Pi: Double;

Description

The Pi method returns a Pi number (3,14159265358979) truncated to 14 decimal places.

Comments

To get the Euler number raised to the specified power, use the IMath.Exp method.

Example

To execute the example, add a link to the MathFin system assembly.

Sub UserProc;
Var
    r: Double;
Begin
    r := Math.Pi;
    Debug.WriteLine(r);
End Sub UserProc;

After executing the example the console window displays the Pi number equal to 3,14159265358979.

See also:

IMath