JavaScript LN2 Property
Clash Royale CLAN TAG#URR8PPP
<!--
main_leaderboard, all: [728,90][970,90][320,50][468,60]-->
JavaScript LN2 Property
❮ JavaScript Math Object
Example
Return the natural logarithm of 2:
Math.LN2;
<!--
The result will be:
0.6931471805599453
-->Try it Yourself »
Definition and Usage
The LN2 property returns the natural logarithm of 2, approximately 0.693.
Browser Support
Property | |||||
---|---|---|---|---|---|
LN2 | Yes | Yes | Yes | Yes | Yes |
Syntax
Math.LN2
Technical Details
Return Value: | A Number, representing the natural logarithm of 2 |
---|---|
JavaScript Version: | ECMAScript 1 |
❮ JavaScript Math Object