Export (0) Print
Expand All

Math Members

Provides constants and static methods for trigonometric, logarithmic, and other common mathematical functions.

The following tables list the members exposed by the Math type.

  Name Description
Public field Static Supported by the .NET Compact Framework E Represents the natural logarithmic base, specified by the constant, e.
Public field Static Supported by the .NET Compact Framework PI Represents the ratio of the circumference of a circle to its diameter, specified by the constant, π.
Top

  Name Description
Public method Static Supported by the .NET Compact Framework Abs Overloaded. Returns the absolute value of a specified number.
Public method Static Supported by the .NET Compact Framework Acos Returns the angle whose cosine is the specified number.
Public method Static Supported by the .NET Compact Framework Asin Returns the angle whose sine is the specified number.
Public method Static Supported by the .NET Compact Framework Atan Returns the angle whose tangent is the specified number.
Public method Static Supported by the .NET Compact Framework Atan2 Returns the angle whose tangent is the quotient of two specified numbers.
Public method Static BigMul Produces the full product of two 32-bit numbers.
Public method Static Ceiling Overloaded. Returns the smallest integer greater than or equal to the specified number.
Public method Static Supported by the .NET Compact Framework Cos Returns the cosine of the specified angle.
Public method Static Supported by the .NET Compact Framework Cosh Returns the hyperbolic cosine of the specified angle.
Public method Static DivRem Overloaded. Calculates the quotient of two numbers and also returns the remainder in an output parameter.
Public method Supported by the .NET Compact Framework Equals  Overloaded. Determines whether two Object instances are equal. (Inherited from Object.)
Public method Static Supported by the .NET Compact Framework Exp Returns e raised to the specified power.
Public method Static Supported by the .NET Compact Framework Floor Overloaded. Returns the largest integer less than or equal to the specified number.
Public method Supported by the .NET Compact Framework GetHashCode  Serves as a hash function for a particular type. GetHashCode is suitable for use in hashing algorithms and data structures like a hash table. (Inherited from Object.)
Public method Supported by the .NET Compact Framework GetType  Gets the Type of the current instance. (Inherited from Object.)
Public method Static Supported by the .NET Compact Framework IEEERemainder Returns the remainder resulting from the division of a specified number by another specified number.
Public method Static Supported by the .NET Compact Framework Log Overloaded. Returns the logarithm of a specified number.
Public method Static Supported by the .NET Compact Framework Log10 Returns the base 10 logarithm of a specified number.
Public method Static Supported by the .NET Compact Framework Max Overloaded. Returns the larger of two specified numbers.
Public method Static Supported by the .NET Compact Framework Min Overloaded. Returns the smaller of two numbers.
Public method Static Supported by the .NET Compact Framework Pow Returns a specified number raised to the specified power.
Public method Static Supported by the .NET Compact Framework ReferenceEquals  Determines whether the specified Object instances are the same instance. (Inherited from Object.)
Public method Static Supported by the .NET Compact Framework Round Overloaded. Rounds a value to the nearest integer or specified number of decimal places.
Public method Static Supported by the .NET Compact Framework Sign Overloaded. Returns a value indicating the sign of a number.
Public method Static Supported by the .NET Compact Framework Sin Returns the sine of the specified angle.
Public method Static Supported by the .NET Compact Framework Sinh Returns the hyperbolic sine of the specified angle.
Public method Static Supported by the .NET Compact Framework Sqrt Returns the square root of a specified number.
Public method Static Supported by the .NET Compact Framework Tan Returns the tangent of the specified angle.
Public method Static Supported by the .NET Compact Framework Tanh Returns the hyperbolic tangent of the specified angle.
Public method Supported by the .NET Compact Framework ToString  Returns a String that represents the current Object. (Inherited from Object.)
Public method Static Truncate Overloaded. Calculates the integral part of a number.
Top

Community Additions

ADD
Show:
© 2014 Microsoft