VBScript Log Function
Definition and Usage
The Log function can return the natural logarithm of specified data. The natural logarithm is the logarithm with base e.
Note:Negative values are not allowed.
Tip:See the Exp function.
Syntax
Log(number)
Parameter | Description |
---|---|
number | Required. A valid numeric expression greater than 0. |
Instance
Example 1
document.write(Log(38.256783227))
Output:
3.64432088381777