offline version v3


54 of 264 menu

Math.LN10 property

The Math.LN10 property contains the value of the natural logarithm of the number 10.

Syntax

Math.LN10;

Example

Let's output the value of the natural logarithm of the number 10:

console.log(Math.LN10);

The code execution result:

2.302585092994046

See also

  • the Math.LN2 property
    that returns the value of the natural logarithm of two
  • the Math.LOG2E property
    that returns the base 2 logarithm of e
  • the Math.LOG10E property
    that returns the base 10 logarithm of e
  • the Math.log method
    that returns the natural logarithm of a number
enru