JavaScript LN10 Property
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





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 |
JavaScript Math object