Oracle® OLAP DML Reference 11g Release 2 (11.2) Part Number E17122-07 |
|
|
PDF · Mobi · ePub |
The LOG function computes the logarithm of an expression.
Note:
Do not confuse the LOG function with the function of the same name which creates a log file.DECIMAL
LOG([base,] expression)
The base by which to compute the logarithm. When you do not specify a value, the function computes the natural logarithm of the expression by using e for the base where e equals 2.718281828459
.
A numeric expression which is greater than zero. When the value is equal to or less than zero, LOG returns an NA
value.