max
This block is part of the math group and was last modified in core v13.0.8.
max v13.0.8 Return the largest of the numbers given as input parameters
In pins 2
- number_0 required
number - number_1 required
number
Out pins 1
- Number
number
Outputs the larger of number_0 and number_1. Both pins must be wired : when either is absent the block writes nothing; a wired but nil or non-numeric value counts as 0 (numeric strings and booleans coerce). Example: number_0="3" number_1=7 -> 7.
A typical wiring for max: the number out pin feeds cast to value.

Version history
Introduced in v13.0.8.
Back to
math Return to the main group to view all sub-groups Back to number: static methods Return to the group to view all blocks within this group
