Skip to content

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

NameTypeDescription
numeratornumberThe number that will be divided.
denominatornumberThe number by which the numerator is divided.

Outputs

NameTypeDescription
outputnumberThe 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%).

Reference:

  • Sum — adds multiple numeric inputs together
  • Compare Value — compares two values using a logical operator