float exp ( float $arg )
exp() returns 'e' raised to the power of $arg (‘e’ is the base of the natural system of logarithms, or approximately 2.718281828459)
※ available F/W version : all
Returns ‘e’ raised to the power of $arg
<?php
$f1 = exp(1);
$f2 = exp(2);
echo "f1 = $f1\r\n"; // OUTPUT: f1 = 2.718281828459
echo "f2 = $f2\r\n"; // OUTPUT: f2 = 7.3890560989307
?>
This function is identical to the PHP group’s exp() function.