Method Call Returns
Math.pow(a, b) a raised to the b power (ab)
Math.exp(a) e raised to the a power (ea)
Math.floor(a) a rounded down
Math.ceil(a) a rounded up
Math.round(a) a rounded to the nearest digit
Math.max(a, b, c...) Maximum of the set a, b, c …
Math.min(a, b, c...) Minimum of the set a, b, c …
Math.sqrt(a) Square root of a
Math.abs(a) Absolute value of a
Math.log(a) Logarithm (base 10) of a
Math.ln(a) Natural logarithm (base e) of a
|