September 2001
Intermediate to advanced
768 pages
32h 45m
English
float exp(float power) Calculates the value of e raised to the power of power.
Returns:
e to the power of a number
Description:
Returns e (the natural logarithm base constant, 2.718282...) raised to the power of power . exp() is the opposite of the log() function.
Version:
PHP 3, PHP 4
See also:
log()
Example:
$power = 4; echo "e to the $power is ", exp($powr), "\n"; |
Read now
Unlock full access