Syntax
exp(number)
Description
The exp() function returns e**x, the base-e exponential of x.
Example
include("math")
printf("%.2f\n", exp(1))
printf("%.2f\n", exp(2))
printf("%.2f\n", exp(-1))
2.72
7.39
0.37
exp(number)
The exp() function returns e**x, the base-e exponential of x.
include("math")
printf("%.2f\n", exp(1))
printf("%.2f\n", exp(2))
printf("%.2f\n", exp(-1))
2.72
7.39
0.37