VBScript Exp function
Exp function returnse (thenatural logarithm of) a power of.
Note: The value of the number can not be more than 709.782712893.
Tip: See the Log function.
grammar
Exp(number)
参数 | 描述 |
---|---|
number | 必需。有效的数值表达式。 |
Examples
Examples
<script type="text/vbscript">
document.write(Exp(6.7) & "<br />")
document.write(Exp(-6.7))
</script>
document.write(Exp(6.7) & "<br />")
document.write(Exp(-6.7))
</script>
Examples of the above output:
812.405825167543
1.23091190267348E-03
1.23091190267348E-03
try it"
Complete VBScript Reference