Important
Helios features are now enabled during weekly update windows and are no longer directly tied to SingleStore engine releases. Refer to the release notes to view the latest features available in your Helios cluster.
FLOOR
On this page
The FLOOR() function rounds a number down to the next lowest integer.
Syntax
FLOOR ( expression )
Arguments
-
expression: any valid numeric expression.
Return Type
Integer.
Examples
SELECT FLOOR(98.6), FLOOR(-98.6);
+-------------+--------------+
| FLOOR(98.6) | FLOOR(-98.6) |
+-------------+--------------+
| 98 | -99 |
+-------------+--------------+Last modified: