FQL v4 will be decommissioned on June 30, 2025. Ensure that you complete your migration from FQL v4 to FQL v10 by that date. For more details, review the migration guide. Contact support@fauna.com with any questions. |
Ceil
This reference topic applies to FQL v4. Go to this page for the latest FQL v10 reference topics. |
Ceil( value )
ceil( value )
Ceil( value )
Ceil( value )
Ceil( value )
Description
The Ceil
function returns a value that is greater than or equal
to the value
argument and is equal to the nearest mathematical
integer.
Examples
The following query executes an array of independent Ceil
operations and returns each answer in the result array. The result array
position matches the position in the execution array.
[ 7, 2, 3 ]
[7.0, 2.0, 3.0]
[7 2 3]
Arr(DoubleV(7), DoubleV(2), DoubleV(3))
[ 7, 2, 3 ]
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!