FLOOR

    Mathematical functions

    Syntax

    FLOOR( number )
    

    Description

    Rounds the value down to the nearest integer.

    Argument types:

    • numberNumber

    Return type: Number (decimal)

    Examples

    FLOOR(5.37) = 5
    

    Data source support

    Materialized Dataset, ClickHouse 1.1, Microsoft SQL Server 2017 (14.0), MySQL 5.6, PostgreSQL 9.3