Decimal Math.Acos Method
Returns the angle whose cosine is the specified number.
Definition
Namespace: Numerics.NET
Assembly: Numerics.NET (in Numerics.NET.dll) Version: 9.0.2
C#
An angle, θ, measured in radians, such that 0 ≤θ≤π-or- System.Double.NaN if value < -1 or value > 1.
Assembly: Numerics.NET (in Numerics.NET.dll) Version: 9.0.2
public static decimal Acos(
decimal value
)
Parameters
- value Decimal
- A number representing a cosine, where -1 ≤value≤ 1.
Return Value
DecimalAn angle, θ, measured in radians, such that 0 ≤θ≤π-or- System.Double.NaN if value < -1 or value > 1.
Exceptions
Argument | value is less than -1 or greater than +1. |