THE WORLD'S LARGEST WEB DEVELOPER SITE

JavaScript LN10 Property

❮ JavaScript Math Object

Example

Return the natural logarithm of 10:

Math.LN10;

The result will be:

2.302585092994046
Try it Yourself »

Definition and Usage

The LN10 property returns the natural logarithm of 10, approximately 2.302.

Browser Support

Property
LN10 Yes Yes Yes Yes Yes

Syntax

Math.LN10

Technical Details

Return Value: A Number, representing the natural logarithm of 10
JavaScript Version: 1.0

❮ JavaScript Math Object