Skip to content

ceil

relationalai.semantics.std.math
ceil(value: NumberValue) -> Expression

Round up to the nearest integer.

  • Expression - An Expression computing the ceiling value of the input. Returns Number if the input is Number, or Float if the input is Float.

Round up to nearest integer:

>>> select(math.ceil(Product.price))
>>> select(math.ceil(3.14))