Integer Divide

logic · C065 · starter-package 7.0.1

Divides two finite numbers and keeps only the whole-number quotient. Truncation is toward zero, so -7 ÷ 2 returns -3.

Inputs

  • Dividend (number, required): Value being divided.
  • Divisor (number, required): Finite non-zero value to divide by.

Output

  • Result (number): Truncated integer quotient.

Common uses

Calculate full batches, pages, groups, intervals, or completed units without retaining a fractional remainder.

Example

Dividend 17 and Divisor 5 produce 3.

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.

Missing, ambiguous, non-finite, or zero divisors fail before calculation. Quotient overflow also stops the workflow with a fixable error.

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
Inputdividend — Dividendnumberyes
Inputdivisor — Divisornumberyes
Outputresult — Resultnumberon success