The numeric constant value for e, the base of natural logarithms.
The resulting value is approximately 2.718281828459045 (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.cot() | Up | Math.exp() |
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. |