Skip to main content
The Clamp action constrains a number to a range. Values below Min become the minimum, values above Max become the maximum, and values already inside the range stay unchanged.

Inputs

Outputs

For a minimum of 0 and maximum of 100, -5 becomes 0, 40 stays 40, and 125 becomes 100.
Keep Min less than or equal to Max. Reversed bounds are applied in sequence and produce the maximum bound rather than a conventional range.