IMath.ATan

Syntax

ATan(Value: Double): Double;

Parameters

Value. Angle tangent.

Description

The ATan method returns the arctangent of a number.

Comments

Parameter value cannot be empty.

To get angle tangent, use the IMath.Tan method.

Example

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

Sub UserProc;
Var r: Double;
Begin
    r := math.ATan(1);
    Debug.WriteLine(r);
End Sub UserProc;

After executing the example the console window displays the arctangent of the specified angle equal to 0.785398163397448.

See also:

IMath