Note that log of a negative or undefined number returns -Infinity.
(PHP 4, PHP 5, PHP 7)
log10 — Base-10 logarithm
$num
) : float
Returns the base-10 logarithm of num
.
num
The argument to process
The base-10 logarithm of num
Note that log of a negative or undefined number returns -Infinity.