NGWS SDK Documentation  

This is preliminary documentation and subject to change.
To comment on this topic, please send us email at ngwssdk@microsoft.com. Thanks!

Math.Cos

Returns the cosine of the specified angle, measured in radians.

[Visual Basic]
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;

Parameters

d
An angle measured in radians.

Return Value

Returns the cosine of the angle d.

Remarks

If the angle, d, is in degrees, multiply it by /180 to convert it to radians before calling this method.

See Also

Math Class | Math Members | System Namespace