Skip to main content Skip to complementary content

LN

Computes the natural logarithm $$ln(x)$$ where $$x$$ is the given input.

Syntax

LN(X)

Arguments

X

Type: numeric

A numeric value.

Returns

Type: double

The natural logarithm of X.

Note that if $$x \leq 0$$, then the function returns a null value.


Examples

X Output
1 0.0
0 null
2 0.6931471805599453
0.5 -0.6931471805599453
4 * 5 2.995732273553991

Did this page help you?

If you find any issues with this page or its content – a typo, a missing step, or a technical error – please let us know!