scalar

FLOOR

Largest integer-valued number not above x. Example target: PostgreSQL 17. No tables or extensions required.

Formal Syntax & Structure

sql syntaxsql
FLOOR(x)

Working Example

Example Snippetsql
SELECT floor(-1.2);
SQL Reference