The LOG10 function computes the logarithm base 10 of an expression.
10
Return Value
DECIMAL
Syntax
LOG10(expression)
Arguments
The value of expression must be greater than zero. When the value is equal to or less than 0 (zero), LOG10 returns an NA value.
0
NA
Examples
Example 16-35 Calculating a Base 10 Logarithm
This example uses the LOG10 function to calculate the base 10 logarithm of 1,000. The statement
SHOW LOG10(1000)
produces the following result.
3.00