Firebird Documentation Index → Firebird 2.1 Language Ref. Update → Internal functions → LOG10() |
Find a more recent version at Firebird 5.0 Language Reference: LOG10()
Available in: DSQL, PSQL
Added in: 2.1
Description: Returns the 10-based logarithm of the argument.
Result type: DOUBLE PRECISION
Syntax:
LOG10 (number
)
If the argument is 0, -
INF
is returned. If the argument is negative,NaN
is returned. This is inconsistent with LN(), which raises an error in these cases. In Firebird 2.5 and up, an error will be raised if the argument is negative or 0.
If the external function
LOG10
is declared in your database, it will override the
internal function. To make the internal function available, DROP or ALTER the external
function (UDF).
Firebird Documentation Index → Firebird 2.1 Language Ref. Update → Internal functions → LOG10() |