JavaScript LN10 Property
Complete Math Object Reference
Definition and Usage
The LN10 property returns the natural logarithm of 10, approximately 2.302.
Syntax
Example
<script type="text/javascript">
document.write("LN10: " + Math.LN10);
</script>
|
The output of the code above will be:
Try-It-Yourself Demos
LN10 property
Use LN10 to return the natural logarithm of 10.
Complete Math Object Reference
|
|
|
See why there are 20,000+ Ektron integrations worldwide.
Request an INSTANT DEMO or download a FREE TRIAL today. |
|
|
|