Source Code:
(back to article)
<?php $number = 100; // Calculate the base-10 logarithm of the number using the log10() function $result = log10($number); // Output the result echo $result; ?>
Result:
Report an issue