Firebird Documentation IndexFirebird 2.5 Language Ref. UpdateInternal functions → FLOOR()
Firebird Home Firebird Home Prev: EXTRACT()Firebird Documentation IndexUp: Internal functionsNext: GEN_ID()

FLOOR()

Available in: DSQL, PSQL

Added in: 2.1

Description: Returns the largest whole number smaller than or equal to the argument.

Result type: BIGINT or DOUBLE PRECISION

Syntax: 

FLOOR (number)

Important

If the external function FLOOR 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: CEIL() / CEILING()

Prev: EXTRACT()Firebird Documentation IndexUp: Internal functionsNext: GEN_ID()
Firebird Documentation IndexFirebird 2.5 Language Ref. UpdateInternal functions → FLOOR()