LN()

<< LEFT() | FB 2.5 Language Reference | LOG() >>
<< LEFT() | FB 2.1 Language Reference | 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()

back to top of page
<< LEFT() | FB 2.5 Language Reference | LOG() >>
<< LEFT() | FB 2.1 Language Reference | LOG() >>