Menu
Amazon Redshift
Database Developer Guide (API Version 2012-12-01)

DLOG10 Function

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

Synonym of LOG Function.

Syntax

Copy
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:

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