ceil
relationalai.semantics.std.math
ceil(value: NumberValue) -> ExpressionRound up to the nearest integer.
Parameters
Section titled “Parameters”
(valueNumberValue) - The input value.
Returns
Section titled “Returns”Expression- AnExpressioncomputing the ceiling value of the input. ReturnsNumberif the input isNumber, orFloatif the input isFloat.
Examples
Section titled “Examples”Round up to nearest integer:
>>> select(math.ceil(Product.price))>>> select(math.ceil(3.14))