Re: Mathematical functions in PHP The log()
The log() function returns the natural logarithm (base E) of a number. Syntax
log(x,base) Example
In the following example we will use the log() function on different numbers:
<?php
echo(log(2.7183) . "<br />");
echo(log(2) . "<br />");
echo(log(1) . "<br />");
echo(log(0) . "<br />");
echo(log(-1))
?>
__________________
Thanks
Regards
Sureshbabu Harikrishnan +91 9884320017 |