Floor
This reference topic applies to FQL v4. Go to this page for the latest FQL v10 reference topics. |
Floor( value )
floor( value )
Floor( value )
Floor( value )
Floor( value )
Floor( value )
Description
The Floor
function returns the largest value that is less than or
equal to the argument and is equal to a mathematical integer.
Examples
The following query executes an array of independent floor operations and returns the results in an array. The result array position matches the execution array position. The top operation in the execution array, floor of 7.0, returns a long value of 7 in the top position of the result array.
[ 7, 1, 2 ]
[7.0, 1.0, 2.0]
[7 1 2]
Arr(DoubleV(7), DoubleV(1), DoubleV(2))
[7.0, 1.0, 2.0]
[ 7, 1, 2 ]