This API is subject to change. Bug fixes and new features will be released based on developer feedback throughout the preview period.
Divides 1 expression by another.
The divide()
method configures the aggregation pipeline to divide the first expression by the second expression.
Expression to divide by second
. Expression must resolve to a number.
Expression to divide first
by. Expression must resolve to a non-zero number.
This method doesn't return any custom errors, but may return standard errors. Learn more about standard Wix errors.