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