LN10 Math class propertyS2C Home
« Globals « Math « LN10
Description
Returns the natural logarithm of 10.
- Like all class properties
LN10should be used on the class rather than an instance of the class.
Syntax
| Signature | Description |
|---|---|
Math.LN10 | Returns the natural logarithm of 10. |
Parameters
None.
Examples
The code below displays LN10 usage.
alert('Natural logarithm of 10: ' + Math.LN10); // 2.302585...
Related Tutorials
JavaScript Advanced Tutorials - Lesson 4 - Math