Firebird Documentation IndexFirebird 2.1 Language Ref. UpdateInternal functions → LN()
Firebird Home Firebird Home Prev: LEFT()Firebird Documentation IndexUp: Internal functionsNext: LOG()

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).

See also: EXP()

Prev: LEFT()Firebird Documentation IndexUp: Internal functionsNext: LOG()
Firebird Documentation IndexFirebird 2.1 Language Ref. UpdateInternal functions → LN()