Results 1 - 20 of 44

Math

Math is a built-in object that has properties and methods for mathematical constants and functions. Not a function object.
JavaScript Math Reference

Math.abs()

The Math.abs() function returns the absolute value of a number, that is
JavaScript Math Method Reference

Math.acos()

The Math.acos() function returns the arccosine (in radians) of a number, that is
JavaScript Math Method Reference

Math.acosh()

The Math.acosh() function returns the hyperbolic arc-cosine of a number, that is
JavaScript Math Method Reference

Math.asin()

The Math.asin() function returns the arcsine (in radians) of a number, that is
JavaScript Math Method Reference

Math.asinh()

The Math.asinh() function returns the hyperbolic arcsine of a number, that is
JavaScript Math Method Reference

Math.atan()

The Math.atan() function returns the arctangent (in radians) of a number, that is
JavaScript Math Method Reference

Math.atan2()

The Math.atan2() function returns the arctangent of the quotient of its arguments.
JavaScript Math Method Reference

Math.atanh()

The Math.atanh() function returns the hyperbolic arctangent of a number, that is
JavaScript Math Method Reference

Math.cbrt()

The Math.cbrt() function returns the cube root of a number, that is
JavaScript Math Method Reference

Math.ceil()

The Math.ceil() function returns the smallest integer greater than or equal to a given number.
JavaScript Math Method Reference

Math.cos()

The Math.cos() function returns the cosine of a number.
JavaScript Math Method Reference

Math.cosh()

The Math.cosh() function returns the hyperbolic cosine of a number, that can be expressed using the constant e:
JavaScript Math Method Reference

Math.E

The Math.E property represents the base of natural logarithms, e, approximately 2.718.
JavaScript Math Property Reference

Math.exp()

The Math.exp() function returns ex, where x is the argument, and e is Euler's number (also known as Napier's constant), the base of the natural logarithms.
JavaScript Math Method Reference

Math.expm1()

The Math.expm1() function returns ex - 1, where x is the argument, and e the base of the natural logarithms.
JavaScript Math Method Reference

Math.floor()

The Math.floor() function returns the largest integer less than or equal to a given number.
JavaScript Math Method Reference

Math.fround()

The Math.fround() function returns the nearest single precision float representation of a number.
JavaScript Math Method Reference

Math.hypot()

The Math.hypot() function returns the square root of the sum of squares of its arguments, that is
JavaScript Math Method Reference

Math.imul()

The Math.imul() function returns the result of the C-like 32-bit multiplication of the two parameters.
JavaScript Math Method Reference