Share via


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 Equals (Inherited from Object.)
Public Method Equals (Inherited from Object.)
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 ReferenceEquals (Inherited from Object.)
Public Method ReferenceEquals (Inherited from Object.)
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