LN
Computes the natural logarithm where is the given input.
Syntax
Arguments
X
X
Type: numeric
A numeric value.
Returns
Type: double
The natural logarithm of X
.
Note that if , then the function returns a null value.
Examples
X | Output |
---|---|
1 | 0.0 |
0 |
|
2 | 0.6931471805599453 |
0.5 | -0.6931471805599453 |
4 * 5 | 2.995732273553991 |
Transformation job example
SQL
Query result
ln_example |
---|
0.0 |
Last updated