Namespace: System
Assembly: mscorlib (mscorlib.dll)
Here is a recap from Math Class in MSDN and is depend on .NET Framework version 4.5. You can switch to the other versions once you navigate to the MSND website.
Methods:
Name | Description |
Returns the absolute value of a number*. (*Support Decimal, Double, Int16, Int32, Int64, SByte, or Single number for input and return respectively) | |
Returns the angle whose cosine is the specified number. | |
Returns the angle whose sine is the specified number. | |
Returns the angle whose tangent is the specified number. | |
Returns the angle whose tangent is the quotient of two specified numbers. | |
Produces the full product of two 32-bit numbers. | |
Returns the smallest integral value that is greater than or equal to the specified number*. (*Support Decimal or Double for input and return respectively) | |
Returns the cosine of the specified angle. | |
Returns the hyperbolic cosine of the specified angle. | |
Calculates the quotient of two 32-bit or 64-bit signed integers and also returns the remainder in an output parameter. | |
Returns e raised to the specified power. | |
Returns the largest integer less than or equal to the specified Decimal or Double number. | |
Returns the remainder resulting from the division of a specified number by another specified number. | |
Returns the natural (base e) logarithm of a specified number. | |
Returns the logarithm of a specified number in a specified base. | |
Returns the base 10 logarithm of a specified number. | |
Returns the larger of two 8-bit unsigned integers (Byte), decimals, 16-bit signed integers (Int16), 32-bit signed integers (Int32), 64-bit signed integers (Int64), 8-bit signed integers (SByte), single-precision floating-point numbers (Single), decimal numbers (Decimal), double-precision floating-point numbers (Double), 16-bit unsigned integers (UInt16), 32-bit unsigned integers (UInt32), or 64-bit unsigned integers (UInt64). | |
Returns the smaller of two 8-bit unsigned integers (Byte), decimals, 16-bit signed integers (Int16), 32-bit signed integers (Int32), 64-bit signed integers (Int64), 8-bit signed integers (SByte), single-precision floating-point numbers (Single), decimal numbers (Decimal), double-precision floating-point numbers (Double), 16-bit unsigned integers (UInt16), 32-bit unsigned integers (UInt32), or 64-bit unsigned integers (UInt64). | |
Returns a specified number raised to the specified power. | |
Rounds a decimal value (Decimal) or double-precision floating-point value (Double) to the nearest integral value. | |
Rounds a decimal value (Decimal) or double-precision floating-point value (Double) to a specified number of fractional digits. | |
Rounds a decimal value (Decimal) or double-precision floating-point value (Double) to the nearest integer. A parameter specifies how to round the value if it is midway between two other numbers. | |
Rounds a decimal value (Decimal) or double-precision floating-point (Double) to a specified number of fractional digits. A parameter specifies how to round the value if it is midway between two other numbers. | |
Returns a integer value (1, 0, –1) indicating the sign of a decimal number (Decimal), 16-bit signed integer (Int16), 32-bit signed integer (Int32), 64-bit signed integer (Int64), 8-bit signed integer (SByte), a single-precision floating-point (Single), or double-precision floating-point (Double). | |
Returns the sine of the specified angle. | |
Returns the hyperbolic sine of the specified angle. | |
Returns the square root of a specified number. | |
Returns the tangent of the specified angle. | |
Returns the hyperbolic tangent of the specified angle. | |
Calculates the integral part of a specified decimal number (Decimal) or double-precision floating-point number (Double). |
Fileds:
Name | Description |
Represents the natural logarithmic base, specified by the constant, e. The value of this field is 2.7182818284590452354. | |
Represents the ratio of the circumference of a circle to its diameter, specified by the constant, π. The value of this field is 3.14159265358979323846. |
No comments:
Post a Comment