Ceil
Not available in this language yet.
Ceil( value )
Ceil( value )
Ceil( value )
Not available in this language yet.
Not available in this language yet.
Not available in this language yet.
Ceil( value )
Description
The Ceil
function returns a value that is greater than or equal to the
argument and is equal to the nearest mathematical integer.
Examples
The query below 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.
System.out.println(
client.query( Arr(
Ceil(Value(7.0)),
Ceil(Value(1.11)),
Ceil(Value(2.99))
)).get());
[
7.0,
2.0,
3.0
]
Was this article helpful?
We're sorry to hear that.
Tell us how we can improve!
documentation@fauna.com
Thank you for your feedback!