JavaScript LN2 Property
Definition and Usage
The LN2 property returns the natural logarithm of 2, approximately 0.693.Syntax
Math.LN2 |
Example
<script type="text/javascript"> document.write("LN2: " + Math.LN2); </script> |
The output of the code above will be:
LN2: 0.6931471805599453 |
JavaScript LN2 Property
Reviewed by 1000sourcecodes
on
03:07
Rating: