JavaScript LOG2E Property
Clash Royale CLAN TAG#URR8PPP
googletag.cmd.push(function() googletag.display('div-gpt-ad-1422003450156-2'); );
JavaScript LOG2E Property
❮ JavaScript Math Object
Example
Return the base-2 logarithm of E:
Math.LOG2E;
<!--
The result will be:
1.4426950408889634
-->Try it Yourself »
Definition and Usage
The LOG2E property returns the base-2 logarithm of E, approximately 1.442.
Browser Support
Property | |||||
---|---|---|---|---|---|
LOG2E | Yes | Yes | Yes | Yes | Yes |
Syntax
Math.LOG2E
Technical Details
Return Value: | A Number, representing the base-2 logarithm of E |
---|---|
JavaScript Version: | ECMAScript 1 |
❮ JavaScript Math Object