parent root
PHP: log10 - Manual

log10

(PHP 4, PHP 5, PHP 7)

log10Base-10 logarithm

Description

log10 ( float $arg ) : float

Returns the base-10 logarithm of arg.

Parameters

arg

The argument to process

Return Values

The base-10 logarithm of arg

See Also

  • log() - Natural logarithm
add a noteadd a note

User Contributed Notes 1 note

up
-41
smalladi at lexgen dot com
17 years ago
Note that log of a negative or undefined number returns -Infinity.
To Top
parent root