Math.log10

Returns the base 10 logarithm of a number.

Syntax

log10(value)

Parameters

Return value

A number.

Examples

Math.log10(10**80)
80