This constant provides the numeric value for the base-10 logarithm of e, the base of natural logarithms.

Note that the value of Math.LOG10E is approximately the reciprocal of the value of Math.LN10.

The result returned is approximately 0.434294481903252 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.log() | Up | Math.LOG2E |

JavaScript Programmer's Reference, Cliff WoottonWrox Press (www.wrox.com)Join the Wrox JavaScript forum at p2p.wrox.comPlease report problems to support@wrox.com© 2001 Wrox Press. All Rights Reserved. Terms and conditions. |