Private archive copy · Unofficial site · Content copyright belongs to Runoob Tutorial and the original authors · View Original

VBScript Log Function

VBScript Log Function


VBScript reference manual Complete VBScript Reference Manual


The Log function returns the natural logarithm of a specified number. The natural logarithm is the logarithm to the base e.

**Note:** Negative values are not allowed.

**Tip:** See also the Exp function.

Syntax

Log(number)

Parameters Description
number Required. A valid numeric expression greater than 0.

Example

Example

The example above produces the following output:

3.64432088381777

Try it »


VBScript reference manual Complete VBScript Reference Manual