LOG10()

<< LOG() | FB 2.5 Language Reference | LOWER() >>

LOG10()

Available in: DSQL, PSQL

Added in: 2.1

Changed in: 2.5

Description

Returns the 10-based logarithm of the argument.

Result type: DOUBLE PRECISION

Syntax

 LOG10 (number)


  • An error is raised if the argument is negative or 0. (In versions prior to 2.5, such values would result in NaN and -INF, respectively.)

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

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