Returns the cosine of the specified double that represents an angle.
- d
- A double that represents an angle measured in radians.
A double containing the value of the cosine of d. If d is equal to double.NaN, double.NegativeInfinity, or double.PositiveInfinity, returns double.NaN.
Note: Multiply by pi/180 to convert degrees to radians.
Namespace: System
Assembly: mscorlib (in mscorlib.dll)
Assembly Versions: 1.0.5000.0, 2.0.0.0