Decimal logarithm

Syntax

LOG10 …numeric-expr…

Typing

numeric -> FLOAT?

Description

Compute the decimal logarithm of the operand.

Returns NULL on negative operands.

Examples

expression evaluates to
LOG10 100 2
LOG10(-1) NULL

See Also

Exponential function Natural logarithm