Overview
TheFLOOR() returns a number rounded down that is less than or equal to the specified argument. 
Syntax
The syntax for theFLOOR() function in Oxla is:
FLOOR() function requires one argument:
x: A positive or a negative decimal number (or an expression that evaluates to a decimal number).
Examples
Case #1: Rounding Down a Positive Decimal Value
The following example demonstrates how theFLOORL() function rounds down a positive decimal value:
Case #2: Rounding Down a Negative Decimal Value
The following example demonstrates how theFLOORL() function rounds down a negative decimal value:
Case #3: Using the FLOOR() Function With a Table
The following example demonstrates how theFLOOR() function can be used with a table to round down the values in a specific column:
- Create a new table called FloorRecords with double-precision values using the query below:
- Retrieve the table with its value by running the following query:
- The return table will contain the following:
- numbers, the column with the initial double-precision values.
- FloorValue, the column with the rounded-down values.