meta data for this page
  •  

LN()

Available in: DSQL, PSQL

Added in: 2.1

Description

Returns the natural logarithm of the argument.

Result type: DOUBLE PRECISION

Syntax

LN (number)
  • An error is raised if the argument is negative or 0.

Important: If the external function LN is declared in your database, it will override the internal function. To make the internal function available, DROP or ALTER the external function (UDF).