Go to: Synopsis. Return value. Related. MEL examples.

Synopsis

ceil float

ceil is undoable, NOT queryable, and NOT editable.

Returns the smallest integer value that is not less than the argument.

Return value

floatCeiling value

Related

floor, trunc

MEL examples

ceil 2;
// Result: 2 //
ceil 2.42;
// Result: 3 //
ceil -2.82;
// Result: -2 //