smallest
This block is part of the math group and was last modified in core v10.4.28.
smallest v10.4.28 Returns the smallest number of all numbers provided.
In pins 2
- number_0 required
number - number_1 required
number
Out pins 1
- Number
number
Outputs the smaller of number_0 and number_1. Numeric strings and booleans coerce; when exactly one pin is unwired, nil, or non-numeric the other passes through unchanged, and when both are invalid the output is nil. Example: number_0=3 number_1="7" -> 3.
A typical wiring for smallest: the number out pin feeds cast to value.
Version history
Introduced in v10.4.28.
Back to
math Return to the main group to view all sub-groups Back to number Return to the group to view all blocks within this group 