Mega Code Archive
Categories
/
JavaScript Tutorial
/
Math
Math log()
The log() method of the Math object is used to calculate the natural logarithm (base E) of a number.
This example calculates the natural log of the number entered.
Enter First Number:
The log is: