Alternatively log(x, 10) may be used.
log10
(PHP 4, PHP 5)
log10 — Base-10 logarithm
Açıklama
float log10
( float
$arg
)
Returns the base-10 logarithm of arg.
Değiştirgeler
-
arg -
The argument to process
Dönen Değerler
The base-10 logarithm of arg
smalladi at lexgen dot com ¶
11 years ago
Note that log of a negative or undefined number returns -Infinity.
