$multiply (aggregation)
On this page
Definition
-
$multiply
-
Multiplies numbers together and returns the result. Pass the arguments to
$multiply
in an array.The
$multiply
expression 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.