Latest web development tutorials

JavaScript LN10 property

Math Object Reference JavaScript Math Object

Examples

Returns the natural logarithm of 10:

Math.LN10;

Output:

2.302585092994046

try it"

Definition and Usage

LN10 property is log e 10, that is the natural logarithm of 10, and its value is approximated 2.3025850929940459011.

Browser Support

Internet ExplorerFirefoxOperaGoogle ChromeSafari

All major browsers support LN10 property.


grammar

Math.LN10

technical details

return value: Returns the natural logarithm of 10 (approximately equal to 2.302).
JavaScript version: 1.0


Math Object Reference JavaScript Math Object