Oracle® OLAP DML Reference 11g Release 1 (11.1) Part Number B28126-01 |
|
|
View PDF |
The LOG function computes the logarithm of an expression.
Note:
Do not confuse the LOGfunction with the function of the same name whichcreates a log file..Return Value
DECIMAL
Syntax
LOG([base,] expression)
Arguments
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 is equal to 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.
Examples