Return the base-10 logarithm of different numbers:
The log10() function returns the base-10 logarithm of a number.
Parameter | Description |
---|---|
number | Required. Specifies the value to calculate the logarithm for |
Return Value: | The base-10 logarithm of number |
---|---|
Return Type: | Float |
PHP Version: | 4+ |