EsbDecimals - a Free Subset of ESBPCS for .NET

DecimalOps.Acos Method (Decimal)

Computes the angle (in Radians) that resulted in this Cosine Value using Asin. Thus computing the inverse cosine or arccos.

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

Parameters

x
Cosine of the Angle

Return Value

Angle in Radians in the range of 0 to PI inclusive.

Exceptions

Exception TypeCondition
ArithmeticException Thrown when abs (Value) > 1.

See Also

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