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

JavaScript LOG10E Property


Math Object Reference JavaScript Math Object

Definition and Usage

The LOG10E property returns the base-10 logarithm of E, approximately 0.434.

Syntax

Math.LOG10E


Example

Example

Return the base-10 logarithm of E:

<script type="text/javascript">

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

</script>

The output of the code above will be:

LOG10E: 0.4342944819032518

Try it yourself »


Math Object Reference JavaScript Math Object

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