Skip to content
Chung Leong edited this page Jan 10, 2022 · 3 revisions

log10 - Base-10 logarithm

float log10( float $x )

log10() computes the base-10 logarithm of x.

Parameters:

x - The number to process. It can be a scalar or an array.

Return Value:

The logarithm of x to base 10. If x is an array, the return value will also be an array.

Version

1.0 and above.

Clone this wiki locally