Latest

recent

JavaScript LOG2E Property

Definition and Usage

The LOG2E property returns the base-2 logarithm of E, approximately 1.442.

Syntax

Math.LOG2E


Example

<script type="text/javascript">
document.write("LOG2E: " + Math.LOG2E);
</script>

The output of the code above will be:

LOG2E: 1.4426950408889633
JavaScript LOG2E Property Reviewed by 1000sourcecodes on 03:05 Rating: 5
Powered by Blogger.