Skip to content

floor

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

Round down to the nearest integer.

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

Round down to nearest integer:

>>> select(math.floor(Product.price))
>>> select(math.floor(3.99))