Source Code:
(back to article)
<?php $num = 10; $natural_log = log($num); echo $natural_log . "\n"; // Output: 2.30259 $log10 = log10($num); echo $log10 . "\n"; // Output: 1 $exponential = exp($num); echo $exponential . "\n"; // Output: 22026.465 ?>
Result:
Report an issue