Ratio

logic · C319 · starter-package 7.0.1

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: Part and Whole (finite numbers, required).
  • Outputs: Ratio and Percentage (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.

DirectionConnectorTypeRequired
Inputpart — Partnumberyes
Inputwhole — Wholenumberyes
Outputresult — Rationumberon success
Outputpercentage — Percentagenumberon success