JavaScript – Math.abs() Method
The Math.abs() method returns the absolute value of a number.
The Math.acos() method returns the arccosine (in radians) of a number. The Math.acos() method expects a parameter in the range -1 to 1.
The Math.acosh() method returns the hyperbolic arccosine of a number. If the parameter is less than 1 or not a number, the method returns NaN.
The Math.asin() method returns the arcsine (in radians) of a number. The Math.asin() method expects a parameter in the range -1 to 1.
The Math.asinh() method returns the hyperbolic arcsine of a number.
The Math.atan() method returns the arctangent of a number as a value between -PI/2 and PI/2 radians.
The Math.atan2() method returns the arctangent of the quotient of its arguments, as a numeric value between PI and -PI radians.
The Math.atanh() method returns the hyperbolic arctangent of a number. The Math.atanh() method expects a parameter in the range -1 to 1.
The Math.ceil() method returns a number rounded up to the nearest integer.
The Math.clz32() method returns the number of leading zeros in a 32-bit binary number.
The Math.cos() method returns the cosine of a number (entered in radians). The returned number will be between -1 and 1.
The Math.E property returns Euler’s number, which is approximately 2.71828.
The Math.exp() method returns the value of E squared, where E is Euler’s number and x is the parameter passed to it.
The Math.exp() method returns the value of E squared minus 1, where E is Euler’s number and x is the parameter passed to it.
The Math.floor() method returns a number rounded down to the nearest integer.
The Math.fround() method returns the nearest 32-bit single-precision-float representation of a number.
The Math.LN2 property returns the natural logarithm of 2, which is approximately 0.693.
The Math.LN10 property returns the natural logarithm of 10, which is approximately 2.3025.