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