From http://www.w3schools.com (Copyright Refsnes Data)

JavaScript LN10 Property


Math Object Reference JavaScript Math Object

Definition and Usage

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

Syntax

Math.LN10


Example

Example

Return the natural logarithm of 10:

<script type="text/javascript">

document.write("LN10: " + Math.LN10);

</script>

The output of the code above will be:

LN10: 2.302585092994046

Try it yourself »


Math Object Reference JavaScript Math Object

From http://www.w3schools.com (Copyright Refsnes Data)