跳到主要内容

LN

Returns the natural logarithm of x; that is, the base-e logarithm of x. If x is less than or equal to 0.0E0, the function returns NULL.

Syntax

LN( <x> )

Examples

SELECT LN(2);

┌────────────────────┐
│ ln(2)
├────────────────────┤
0.6931471805599453
└────────────────────┘
开始使用 Databend Cloud
低成本
快速分析
多种数据源
弹性扩展
注册