VBScript Log Function
Log function returns the natural logarithm of the specified number. The natural logarithm is the logarithm base e.
Note: Do not allow the use of negative values.
Tip: See Exp function.
grammar
Log(number)
参数 | 描述 |
---|---|
number | 必需。大于 0 的有效的数值表达式。 |
Examples
Examples
<script type="text/vbscript">
document.write(Log(38.256783227))
</script>
document.write(Log(38.256783227))
</script>
Examples of the above output:
3.64432088381777
try it"
Complete VBScript Reference