Math Class

The class Math contains methods for performing basic numeric operations such as elementary exponential, logarithm, square root, and trigonometric functions.

Constants

Exponent Methods

Rounding Methods

Service Methods

The methods abs(), max(), and min() are overloaded. type could be any type - short, int, long, float, or double.

Trigonometric Methods