Max

logic · C075 · starter-package 7.0.1

Compares two finite numbers and returns the larger value.

Inputs

  • A (number, required): First value.
  • B (number, required): Second value.

Output

  • Result (number): Larger input, or that shared value when the inputs are equal.

Common uses

Choose a higher threshold, enforce a numeric floor, select peak demand, or retain the largest measurement without a branch.

Example

Inputs 12 and 7 produce 12.

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.

Both inputs must resolve to finite numbers. Missing or non-finite values stop the workflow.

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
Inputa — Anumberyes
Inputb — Bnumberyes
Outputresult — Resultnumberon success