log10

(PHP 4, PHP 5, PHP 7, PHP 8)

log10以 10 为底的对数

说明

log10(float $num): float

返回参数 num 以 10 为底的对数。

参数

num

要处理的参数

返回值

num 以 10 为底的对数。

参见

add a note add a note

User Contributed Notes 1 note

up
-60
smalladi at lexgen dot com
22 years ago
Note that log of a negative or undefined number returns -Infinity.
To Top