JavaScript LN10 property

Definition and usage

LN10 The property is loge10, which is the natural logarithm of 10, and its value is approximately 2.3025850929940459011.

Example

Returns the natural logarithm of 10:

Math.LN10;

Try it yourself

Syntax

Math.LN10

Technical details

Return value: A number representing the natural logarithm of 10.
JavaScript version: ECMAScript 1

Webbläsarstöd

Math.LN10 Är en ES1-funktion (JavaScript 1999). Alla webbläsare stöder det fullt ut:

Chrome IE Edge Firefox Safari Opera
Stöd Stöd Stöd Stöd Stöd Stöd

Relaterade sidor

Tutoriel:JavaScript matematik