LOG Function
Returns the base 10 logarithm of a number.
Synonym of DLOG10 Function.
Syntax
LOG(number)
Argument
- number
-
The input parameter is a double precision number.
Return Type
The LOG function returns a double precision number.
Example
The following example returns the base 10 logarithm of the number 100:
select log(100); dlog10 -------- 2 (1 row)