JavaScript LN10Property

Math 对象参考手册JavaScript Math Object

Example

Return the natural logarithm of 10:

Math.LN10;

Output result:

2.302585092994046

Try it Yourself »

Definition and Usage

The LN10 property is loge10e, i.e., the natural logarithm of 10, with a value approximately 2.3025850929940459011.

Browser Support

Internet ExplorerFirefoxOperaGoogle ChromeSafari

All major browsers support the LN10 property.


Syntax

Math.LN10

Technical Details

Return value: Returns the natural logarithm of 10 (approximately 2.302).
JavaScript Version: 1.0


Math 对象参考手册JavaScript Math Object

Other Extensions