Firebird Documentation Index → Firebird 2.1 Language Ref. Update → Internal functions → LN() |
Find a more recent version at Firebird 5.0 Language Reference: 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.
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()
Firebird Documentation Index → Firebird 2.1 Language Ref. Update → Internal functions → LN() |