Math Members

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

Public Fields

Name Description
Public Field Static E Represents the natural logarithmic base, specified by the constant e.
Public Field Static PI Represents the ratio of the circumference of a circle to its diameter, specified by the constant π.

Public Methods

Name Description
Public Method Static Abs Returns the absolute value of a specified integer.
Public Method Static Ceiling Returns the smallest integer greater than or equal to the specified double-precision floating-point number.
Public Method Equals (Inherited from Object.)
Public Method Equals (Inherited from Object.)
Public Method Static Floor Returns the largest integer less than or equal to the specified double-precision floating-point number.
Public Method GetHashCode (Inherited from Object.)
Public Method GetHashCode (Inherited from Object.)
Public Method GetType (Inherited from Object.)
Public Method GetType (Inherited from Object.)
Public Method Static Max Returns the larger of two integers that have been compared with one another.
Public Method Static Min Returns the smaller of two integers that have been compared with one another.
Public Method Static Pow Returns a specified number raised to the specified power.
Public Method ReferenceEquals (Inherited from Object.)
Public Method ReferenceEquals (Inherited from Object.)
Public Method Static Round Rounds a double-precision floating-point value to the nearest integer.
Public Method ToString (Inherited from Object.)
Public Method ToString (Inherited from Object.)

Protected Methods

Name Description
Protected Method Finalize (Inherited from Object.)
Protected Method MemberwiseClone (Inherited from Object.)

See Also

Reference

Math Class
System Namespace