IMath.ACos

Syntax

ACos(Value: Double): Double;

Parameters

Value. Angle cosine.

Description

The ACos method returns the arccosine of a number.

Comments

The Value parameter value cannot be empty and must belong to the [-1;1] interval.

Example

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

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

After executing the example the console window displays the arccosine of the specified number equal to 2.0943951023932.

See also:

IMath