The log10() function returns the base-10 logarithm of a number.
float log10 ( float $arg )
Returns the base-10 logarithm of arg.
The base-10 logarithm of arg