log Method (Windows Scripting - JScript)

 

Returns the natural logarithm of a number.

Syntax

Math.log(number) 

Remarks

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

Return Value

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

Requirements

Version 1

Applies To: Math Object (Windows Scripting - JScript)

See Also

sqrt Method (Windows Scripting - JScript)