Private archive copy · Unofficial site · Content copyright belongs to Runoob Tutorial and the original authors · View Original

JavaScript LN10 Property

JavaScript LN10 Property

Math Object Reference JavaScript Math object

Example

Return the natural logarithm of 10:

Math.LN10;

Output result:

2.302585092994046

Try it »


Definition and Usage

The LN10 property is loge10, the natural logarithm of 10, whose value is approximately 2.3025850929940459011.

Browser support

Internet ExplorerFirefoxOperaGoogle ChromeSafari

All mainstream browsers support the LN10 property.


Syntax

Math.LN10

Technical Details

Return Value: Return the natural logarithm of 10 (approximately 2.302).
JavaScript version: 1.0

Math Object Reference JavaScript Math object