log10

(PHP 3, PHP 4, PHP 5)

log10 -- 以 10 为底的对数

说明

float log10 ( float arg )

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

参见 log()


add a note add a note User Contributed Notes
smalladi at lexgen dot com
21-Nov-2001 07:47
Note that log of a negative or undefined number returns -Infinity.