PostgreSQL – FLOOR Function
In PostgreSQL, the FLOOR() function is used to round a numeric value down to the nearest integer that is less than or equal to the original value. The basic syntax of the FLOOR() function is as follows: FLOOR(numeric_expression) where numeric_expression is the numeric value or expression that you want to round down to the nearest…