Math Members
The following tables list the members exposed by the Math type.
Public Fields
Name | Description | |
---|---|---|
E | Represents the natural logarithmic base, specified by the constant e. | |
PI | Represents the ratio of the circumference of a circle to its diameter, specified by the constant π. |
Public Methods
Name | Description | |
---|---|---|
Abs | Returns the absolute value of a specified integer. | |
Ceiling | Returns the smallest integer greater than or equal to the specified double-precision floating-point number. | |
Equals | (Inherited from Object.) | |
Equals | (Inherited from Object.) | |
Floor | Returns the largest integer less than or equal to the specified double-precision floating-point number. | |
GetHashCode | (Inherited from Object.) | |
GetHashCode | (Inherited from Object.) | |
GetType | (Inherited from Object.) | |
GetType | (Inherited from Object.) | |
Max | Returns the larger of two integers that have been compared with one another. | |
Min | Returns the smaller of two integers that have been compared with one another. | |
Pow | Returns a specified number raised to the specified power. | |
ReferenceEquals | (Inherited from Object.) | |
ReferenceEquals | (Inherited from Object.) | |
Round | Rounds a double-precision floating-point value to the nearest integer. | |
ToString | (Inherited from Object.) | |
ToString | (Inherited from Object.) |
Protected Methods
Name | Description | |
---|---|---|
Finalize | (Inherited from Object.) | |
MemberwiseClone | (Inherited from Object.) |