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

© 1997–2020 The PHP Documentation Group
Licensed under the Creative Commons Attribution License v3.0 or later.
https://www.php.net/manual/en/function.log10.php