log10

Supported Versions: PHP 4, PHP 5, PHP 7, PHP 8
Base-10 logarithm
<?php log10(float $num): float
<?php                 return sprintf('%s'.end($units), static::summarize($number / 1e15, $precision, $maxPrecision, $units));

        }



        $numberExponent = floor(log10($number));

        $displayExponent = $numberExponent - ($numberExponent % 3);

        $number /= pow(10, $displayExponent);