Export (0) Print
Expand All

Math.log Function (JavaScript)

Returns the natural logarithm of a number.

Math.log(number) 

The required number argument is a numeric expression for which the natural logarithm is sought.

The return value is the natural logarithm of number. The base is e.

Supported in the following document modes: Quirks, Internet Explorer 6 standards, Internet Explorer 7 standards, Internet Explorer 8 standards, Internet Explorer 9 standards. See Version Information.

Applies To: Math Object (JavaScript)

Community Additions

Show:
© 2015 Microsoft