floor( )


Developer Preview

This API is subject to change. Bug fixes and new features will be released based on developer feedback throughout the preview period.

Rounds an expression down to the nearest whole number.

The floor() method configures the aggregation pipeline to round the specified expression down to the nearest integer.

Method Declaration
Copy
Method Parameters
expressionExpression

Expression to round down to the nearest whole number. Expression must resolve to a number.

Returns
Return Type:FloorExpression
Errors

This method doesn't return any custom errors, but may return standard errors. Learn more about standard Wix errors.

Did this help?