DLOG10 function - Amazon Redshift

DLOG10 function

The DLOG10 returns the base 10 logarithm of the input parameter. Synonym of the LOG function.

Synonym of LOG function.

Syntax

DLOG10(number)

Argument

number

The input parameter is a double precision number.

Return type

The DLOG10 function returns a double precision number.

Example

The following example returns the base 10 logarithm of the number 100:

select dlog10(100); dlog10 -------- 2 (1 row)