Appearance
Division
Overview
The Division node divides a numerator by a denominator to produce a quotient. It is commonly used for scaling values, calculating ratios, or normalizing data within a flow.
Use Division when:
- Calculating the proportion of defective products.
- Calculating the average number of defects in each production batch.
💡 Tip
The node raises an error if the denominator is zero. Always ensure the denominator input is validated or defaulted to a non-zero value before it reaches this node.
Inputs
| Name | Type | Description |
|---|---|---|
| numerator | number | The number that will be divided. |
| denominator | number | The number by which the numerator is divided. |
Outputs
| Name | Type | Description |
|---|---|---|
| output | number | The result of the division operation. |
Parameters
This node does not have any configuration parameters.
Example
Defect Rate Calculation
A flow divides the number of defective items by the total number of produced items to determine the defect rate.
Configuration:
- No parameters.
Result: With 4 defective items out of 100 produced, the output is 0.04 (4%).
Related links
Reference:
- Sum — adds multiple numeric inputs together
- Compare Value — compares two values using a logical operator