Skip to main content

Math: product

Calculates the product of all provided numbers, multiplied by the optional Default multiplier parameter (treated as 1 when empty). If no input values are received, the output is 0 (the multiplier is not applied).

Example
# Example with no multiplier:
Input: [1, 3, 4, 5]
Formula: 1 * 3 * 4 * 5
Ouput: 60

# Example with default multiplier: 10
Input: [1, 2, 3, 4]
Formula: 1 * 2 * 3 * 4 * 10
Ouput: 240

# Example with empty input:
Input: []
Ouput: 0

Parameters

Default multiplier

Multiply the final product by this configured number. Defaults to 1 when left empty.

Input

Number (multiple)required
Any numbers.

Output

Number

The product of all provided numbers times the multiplier, or 0 when no input values were received.