Multiply¶
Multiplies all values given to the rule, or all available inputs.
Multiplies all values supplied as parameters in order. If no parameters
are given, all available inputs are multiplied. The output type is
promoted to FLOAT if any input is a float; otherwise it is INT.
Parameters¶
- 1 —
multiplierOptional — accepts: field, INT, FLOAT -
The first value of the multiplication. May be a field reference or a static value.
- N —
multiplicandsOptional — accepts: field, INT, FLOAT -
The Nth multiplicand. May be a field reference or a static value.
Input type¶
FLOATINT
Output type¶
matches-input-promotion
Returns FLOAT if any input is a float, otherwise INT.
Examples¶
Multiply all available inputs
Multiplier and two multiplicands
Static values
Mixed static and field