View Single Post
  #11 (permalink)  
Old 04-16-2008, 10:43 PM
Jeyaseelansarc Jeyaseelansarc is offline
D-Web Genius
 
Join Date: Mar 2007
Location: Chennai
Posts: 1,159
Jeyaseelansarc is on a distinguished road
Send a message via AIM to Jeyaseelansarc
Default Re: Mathematical functions in PHP

exp() calculates the exponent of e (the Neperian or Natural logarithm base)

example:
PHP Code:
<?php
echo exp(12) . "\n";
echo 
exp(5.7);
?>
The above example will output:
Code:
1.6275E+005
298.87
__________________
With,
J. Jeyaseelan

Everything Possible
Reply With Quote