ln is computed needs to be larger than 0, otherwise an error is returned.
You can use the function LOG if you want to provide a different base.
Syntax
Parameters
| Parameter | Description | Supported input types |
|---|---|---|
<value> | The value for which to compute the natural logarithm. | DOUBLE PRECISION |
Return Type
DOUBLE PRECISION
Examples
The following example computes the natural logarithm of 1.0:| ln double |
|---|
| 0 |
Rows: 1Execution time: 5.63ms
| ln double |
|---|
| 1 |
Rows: 1Execution time: 5.00ms
Rows: 0Execution time: 0.65ms