EsbDecimals - a Free Subset of ESBPCS for .NET

DecimalOps.Atan Method (Int32)

Computes the angle (in Radians) that resulted in this Tangent Value using Series Expansion. Thus computing the inverse tangent or arctan.

If you want to cover all quadrants then you may want to use Atan2

[Visual Basic]
Overloads Public Shared Function Atan( _
   ByVal x As Integer _
) As Decimal
[C#]
public static decimal Atan(
   int x
);

Parameters

x
Tangent of the Angle

Return Value

Angle in Radians in the range of -PI/2 to PI/2 inclusive.

See Also

DecimalOps Class | Esb.Math Namespace | DecimalOps.Atan Overload List