log10

PHP 4, PHP 5, PHP 7, PHP 8
log10 - Base-10 logarithm

log10( float$num ): float

Returns the base-10 logarithm of num.

Parameters

num

The argument to process

Return Values

The base-10 logarithm of num

Related Functions

Example of log10

Show all examples for log10

PHP Version:


Function log10:

Mathematical Functions Functions

Most used PHP functions