Built-In Mathematical Calculations

Static properties

Math.E

Euler's number and the base of natural logarithms; approximately 2.718.

Math.LN10

Natural logarithm of 10; approximately 2.303.

Math.LN2

Natural logarithm of 2; approximately 0.693.

Math.LOG10E

Base-10 logarithm of E; approximately 0.434.

Math.LOG2E

Base-2 logarithm of E; approximately 1.443.

Math.PI

Ratio of a circle's circumference to its diameter; approximately 3.14159.

Math.SQRT1_2

Square root of ½; approximately 0.707.

Math.SQRT2

Square root of 2; approximately 1.414.

Math[@@toStringTag]

The initial value of the @@toStringTag property is the string "Math". This property is used in Object.prototype.toString().