EsbDecimals - a Free Subset of ESBPCS for .NET

DecimalOps.SecDeg Method (Int32)

Computes the Secant of the given angle (in Degrees) using .

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

Parameters

angleInDegrees
Angle in Degrees

Return Value

Secant of the Angle

Exceptions

Exception TypeCondition
DivideByZeroException Thrown when the angle falls on the PI/2 or 3*PI/2 Axes.

See Also

DecimalOps Class | Esb.Math Namespace | DecimalOps.SecDeg Overload List | Cos