EsbDecimals - a Free Subset of ESBPCS for .NET

DecimalOps.CotDeg Method (Decimal)

Computes the Cotangent of the given angle (in Degrees) using SinCos.

[Visual Basic]
Overloads Public Shared Function CotDeg( _
   ByVal angleInDegrees As Decimal _
) As Decimal
[C#]
public static decimal CotDeg(
   decimal angleInDegrees
);

Parameters

angleInDegrees
Angle in Degrees

Return Value

Cotangent of the Angle

Exceptions

Exception TypeCondition
DivideByZeroException Thrown when the angle falls on the 0 or PI Axes.

See Also

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