Note that log of a negative or undefined number returns -Infinity.
(PHP 4, PHP 5, PHP 7, PHP 8)
log10 — Dekadischer Logarithmus
$arg
) : float
Berechnet den dekadischen Logarithmus von arg
,
d.h. den Logarithmus zur Basis 10.
arg
Der zu verarbeitende Wert
Der dekadische Logarithmus von arg
Note that log of a negative or undefined number returns -Infinity.