Multiply
AI-generatedOverview
This node performs basic arithmetic operations (addition, subtraction, multiplication, division) on two input numbers. It is useful in scenarios where simple mathematical calculations are needed within an automation workflow, such as calculating totals, differences, products, or quotients dynamically based on input data.
Use Case Examples
- Calculating the product of two numbers for financial or inventory calculations.
- Multiplying values extracted from previous nodes to generate new metrics.
Properties
| Name | Meaning |
|---|---|
| First Number | The first number (or dividend for division) used in the arithmetic operation. |
| Second Number | The second number (or divisor for division) used in the arithmetic operation. |
Output
JSON
result- The result of the arithmetic operation performed on the two input numbers.
Troubleshooting
- If the second number is zero during a division operation, the node throws an error 'Division by zero is not allowed.' to prevent invalid calculations.
- An error 'Unknown operation' is thrown if an unsupported operation is specified, indicating a configuration issue.