<?Php
echo exp(3);// Output is 20.085536923188
echo "<br>";
echo exp(-1);// Output is 0.36787944117144
echo "<br>";
echo exp(0);// Output is 1
echo "<br>";
?>
Syntax
exp(X);
X is the input float . We get output as e raised to the power of X
'e' is the base of the natural system of logarithms, its value is approximately 2.718282.