Numeric functions (Logarithmic)
Returns the natural logarithm of a numeric expression.
Syntax¶LN(<expr>)
Copy
Usage notes¶Always returns a floating point number, even if the input expression is of type integer.
If the input expression is less than or equal to 0, an error is returned.
SELECT x, ln(x) FROM tab; --------+-------------+ X | LN(X) | --------+-------------+ 1 | 0 | 10 | 2.302585093 | 100 | 4.605170186 | [NULL] | [NULL] | --------+-------------+
Copy
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4