- Reference >
- Operators >
- Aggregation Pipeline Operators >
- Arithmetic Aggregation Operators >
- $multiply (aggregation)
$multiply (aggregation)¶
On this page
Definition¶
-
$multiply¶ Multiplies numbers together and returns the result. Pass the arguments to
$multiplyin an array.The
$multiplyexpression has the following syntax:The arguments can be any valid expression as long as they resolve to numbers. For more information on expressions, see Expressions.