Share via


Cos Method

[This documentation is for preview only, and is subject to change in later releases. Blank topics are included as placeholders.]

Gets the cosine of the specified angle.

Namespace:  Microsoft.SPOT
Assembly:  Microsoft.SPOT.Native (in Microsoft.SPOT.Native.dll)

Syntax

'Declaration
Public Shared Function Cos ( _
    angle As Integer _
) As Integer
public static int Cos(
    int angle
)
public:
static int Cos(
    int angle
)
static member Cos : 
        angle:int -> int 
public static function Cos(
    angle : int
) : int

Parameters

Return Value

Type: System. . :: . .Int32
The cosine of the specified angle, multiplied by 1000.

.NET Framework Security

See Also

Reference

Math Class

Microsoft.SPOT Namespace