ln function

The ln function returns the natural logarithmic value (base e) of the specified expression.

Syntax:

double ln(n)

Semantics:

Example 1 - ln function

SELECT ln(n) FROM PHtable
Value of n Output
1 0.0
10 2.302585092994046
1.0E-7 -16.11809565095832