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.

Parameters

Argument Type Definition and Requirements

value

Numbers

The ceil of this value.

Returns

A number which is the ceil of value.

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
]