LN10 (JavaScript)

Value of the natural logarithm of 10.

Defined in

Math (JavaScript)

Syntax

Math.LN10

Usage

LN10 is a constant.

The value of the natural logarithm of 10 is approximately 2.302585092994046.

This constant is equivalent to Math.log(10).

Examples

This computed label displays the value of the natural logarithm of 10.
Math.LN10