IMath.ATan

Fore Syntax

ATan(Value: Double): Double;

Fore.NET 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.

Fore 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.

Fore.NET Example

The requirements and result of the Fore.NET example execution match with those in the Fore example.

Imports Prognoz.Platform.Interop.MathFin;

Public Shared Sub Main(Params: StartParams);
Var
    r: double;
    Math: MathClass = New MathClass();
Begin
    r := Math.
ATan(1);
    System.Diagnostics.Debug.WriteLine(r);

End Sub;

See also:

IMath