System Namespace Math Class
Returns the cosine of the specified angle.
[ VB ]
Public Shared Function Cos ( _
ByVal d As Double _
) As Double
[ C# ]
public static double Cos (
double d
);
[ C++ ]
public: static double Cos (
double d
);
[ JScript ]
public static function Cos (
d : double
) : double;
- d
- An angle, measured in radians.
The cosine of d.
The angle, d, must be in radians. Multiply by π/180 to convert degrees to radians.
Math Members