Ln
ln returns the natural logarithm of its argument (natural means e based, where e=2.718261826459045...).
ln(NUMERIC_EXPR)
NUMERIC_EXPR is an expression returning a numeric value, which must be strictly positive and smaller than 10^80. Y = ln(exp(2)): # Returns 2
This function returns the natural logarithm of its argument. The type of result is Double. The reverse function of log(x) is the exponential function: exp(x).
| Error code | Description |
|---|---|
| 10 | The argument is not numeric. |
| 14 | The argument is negative. |
| 52 | The argument is null. |