Mono Class Library: System.Math Overview | Members

System.Math.Cos Method

Returns the cosine of the specified double that represents an angle. [Edit]

public static double Cos (double d)

Parameters

d
A double that represents an angle measured in radians. [Edit]

Returns

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. [Edit]

Remarks

Note: Multiply by pi/180 to convert degrees to radians.
[Edit]

Requirements

Namespace: System
Assembly: mscorlib (in mscorlib.dll)
Assembly Versions: 1.0.5000.0, 2.0.0.0