IMath.SqrtPi

Syntax

SqrtPi(Value: Double): Double;

Parameters

Value. Real number.

Description

The SqrtPi method returns a square root from the result of the "Value * "Pi"" expression.

Comments

Value of the Value parameter must not be negative.

Example

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

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

After executing the example the console window displays the square root equal to 2.506628274631.

See also:

IMath