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