Floor
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.
Arr(DoubleV(7), DoubleV(1), DoubleV(2))
[7 1 2]
[7.0, 1.0, 2.0]
[ 7, 1, 2 ]
[7.0, 1.0, 2.0]
[ 7, 1, 2 ]
Is this article helpful?
Tell Fauna how the article can be improved:
Visit Fauna's forums
or email docs@fauna.com
Thank you for your feedback!