Skip Headers
Oracle® OLAP DML Reference
10g Release 2 (10.2)

Part Number B14346-01
Go to Documentation Home
Home
Go to Book List
Book List
Go to Table of Contents
Contents
Go to Index
Index
Go to Master Index
Master Index
Go to Feedback page
Feedback

Go to previous page
Previous
Go to next page
Next
View PDF

LOG function

The LOG function computes the natural logarithm of an expression.

Return Value

DECIMAL

Syntax

LOG(expression)

Arguments

expression

The value of expression must be greater than zero. When the value is equal to or less than zero, LOG returns an NA value.

Examples

Example 16-34 Calculating a Natural Logarithm

In this example the LOG function is used to calculate the natural logarithm of the expression 4,000 + 6,000. The statements

DECIMALS = 5
SHOW LOG(4000 + 6000)

produce the following result.

9.21034