Math

abs
The Math.abs() method returns the absolute (positive) value of x
acos
The Math.acos() method returns the arccosine (in radians) of a number
acosh
The Math.acosh() method returns the hyperbolic arc-cosine of a number.
asin
The Math.asin() method returns the arcsine (in radians) of a number.
asinh
The Math.asinh() method returns the hyperbolic arc-sine of a number.
atan
The Math.atan() method returns the arctangent of a number as a value between -PI/2 and PI/2 radians.
atanh
The Math.tanh() method returns the hyperbolic tangent of a number.
ceil
The Math.ceil() method rounds a number rounded UP to the nearest integer.
cos
The Math.cos() method returns the cosine of a number.
cosh
The Math.cosh() method returns the hyperbolic cosine of a number.
E
The Math.E property returns Euler's number.
exp
The Math.exp() method returns the value of Ex, where E is Euler's number (approximately 2.7183)
floor
The Math.floor() method rounds a number DOWN to the nearest integer.
LN2
The Math.LN2 property returns the natural logarithm of 2.
LN10
The Math.LN10 property returns the natural logarithm of 10.
log
The Math.log() method returns the natural logarithm (base E) of a number.
log10
The Math.log10() method returns the base-10 logarithm of a number.
LOG10E
The Math.LOG10E property returns the base-10 logarithm of E.
LOG2E
The Math.LOG2E property returns the base-2 logarithm of E.
max
The Math.max() method returns the number with the highest value.
min
The Math.min() method returns the number with the lowest value.
PI
The Math.PI is an
pow
The Math.pow() method returns the value of x to the power of y (xy).
randInt
The Math.randInt() method returns a random integer number in a given range
random
The Math.random() method returns a random number from 0 (inclusive) up to but not including 1 (exclusive).
range
The Math.range() method will check that the specified value lies between the lower and upper bounds specified, and if not, will return the nearest value that would be in-range.
round
The Math.round() method rounds a number to the nearest integer.
sign
The Math.sign() method returns if x is negative, null or positive (-1, 0, 1)
sin
The Math.sin() method returns the sine of a number.
sinh
The Math.sinh() method returns the hyperbolic sine of a number.
sqr
The Math.sqr() method returns the square of its argument
sqrt
The Math.sqrt() method returns the square root of a number.
SQRT1_2
The Math.SQRT1_2 property returns the square root of 1/2.
SQRT2
The Math.SQRT2 property returns the square root of 2.
tan
The Math.tan() method returns the tangent of a number.
tanh
The Math.tanh() method returns the hyperbolic tangent of a number.
toDegrees
The Math.toDegrees() method returns a number converted from radians to degrees
toRadians
The Math.toRadians() method returns a number converted from degrees to radians