PHP log() Function

The log() function is used to calculate in the natural logarithm (base E) from number.

Demo :



Type No :  

Example :

Type No: 12

If you need to calculate Natural log following code useful to you.


<?php
 $log_no = 12;
 $result = log($log_no);
 echo $result;
?>

In the above code is used to calculate for Natural Log .In the log() functions have used two parameters that name is float number,float base.

Free Download Script :

If you need log() function demo code download from following link.

Download




Content