PHP log10() Function

The log10() function is used to calculate in the logarithm (base-10) from number.

Demo :



Type No :  

Example :

Type No: 12

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


<?php
 $log10_no = 12;
 $result = log10($log10_no);
 echo $result;
?>

In the above code is used to calculate for Base10 log.In the log10() functions have used one parameters that name is float number.

Free Download Script :

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

Download




Content