Math.Cos Method

Gets the cosine of the specified angle.

Namespace: Microsoft.SPOT
Assembly: Microsoft.SPOT.Native (in microsoft.spot.native.dll)

Syntax

[MethodImplAttribute]
public static int Cos (
         intangle
)

Parameters

  • angle
    An angle, measured in degrees.

Return Value

The cosine of the specified angle, multiplied by 1000.

Version Information

Available in .NET Micro Framework version 2.0, 2.5

See Also

Reference

Math Class
Math Members
Microsoft.SPOT Namespace