PostgreSQLNumeric FunctionsLN
EXP

LNNumeric Functions

LOG

Returns the natural logarithm.

Syntax

LN(x)

Example

Enter values below to update the example in real time.

LN
natural_log
SELECT LN(2.71828) AS natural_log;