Purpose
Compare a Part with a non-zero Whole. This differs from plain Divide by returning both the proportional factor and its percentage.
Connectors
- Inputs:
PartandWhole(finite numbers, required). - Outputs:
RatioandPercentage(numbers).
Example
Part = 3 and Whole = 12 returns ratio 0.25 and percentage 25.
Failure cases
Zero for Whole, invalid numbers, and non-finite outputs stop the workflow.
Errors and recovery
When this block reports an error, no downstream output is emitted. Correct the highlighted input or setting described by the message, then run the workflow again.
Connector data types
The type below is the data type that actually travels through the connection. Any additional validation is described separately in this block guide.
| Direction | Connector | Type | Required |
|---|---|---|---|
| Input | part — Part | number | yes |
| Input | whole — Whole | number | yes |
| Output | result — Ratio | number | on success |
| Output | percentage — Percentage | number | on success |
