Functions

log10

Supported By

Syntax

[the] log10 of factor

log10 ( expression )

Factor and expression yield integers, numbers, or complexes.

Example

put the log10 of 42 -- yields 1.623249

Description

The log10 function returns the base-10 (common) logarithm of the number passed to it.

If the argument is a positive integer or number, a number is returned. If the argument is zero, negative infinity is returned. If the argument is a negative integer or number, NaN is returned. To get a complex result, convert the argument to a complex.

If the argument is a complex, a complex is returned.

See Also

exp, exp1, exp2, exp10, ln, ln1, log2, log