Math Class

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

Provides static methods for common mathematical functions.

Inheritance Hierarchy

System. . :: . .Object
  Microsoft.SPOT..::..Math

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

Syntax

'Declaration
Public NotInheritable Class Math
public static class Math
public ref class Math abstract sealed
[<AbstractClass>]
[<Sealed>]
type Math =  class end
public final class Math

The Math type exposes the following members.

Methods

  Name Description
Public methodStatic member Cos Gets the cosine of the specified angle.
Public methodStatic member Sin Gets the sine of the specified angle.

Top

Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

See Also

Reference

Microsoft.SPOT Namespace