This constant provides the numeric value for the natural logarithm of 10.
The resulting value value is approximately 2.302585092994046 (to 15 d.p.)
The word approximately is used when describing the result because the mathematical accuracy of JavaScript implementations leaves something to be desired and there are some strange artifacts in some of the calculations.
Prev | Home | Next |
Math.floor() | Up | Math.LN2 |
JavaScript Programmer's Reference, Cliff Wootton Wrox Press (www.wrox.com) Join the Wrox JavaScript forum at p2p.wrox.com Please report problems to support@wrox.com © 2001 Wrox Press. All Rights Reserved. Terms and conditions. |