ÄúµÄλÖãºÑ°ÃÎÍøÊ×Ò³£¾±à³ÌÀÖÔ°£¾VBScript£¾VBScript


objects constants operators statements functions properties methods






FUNCTION:  Exp( )

Exp(Number)

The Exp function raises e to the power of a number.

There is a companion function Log for the reverse operation.

Code:
<% =Exp(3.269) %>

Output:
26.2850411552082

You can also use a negative number.

Code:
<% =Exp(-3.269) %>

Output:
0.038044452511799