Force a value within the boundaries by clamping it to the range min, max.
min
max
The value to be clamped.
The minimum bounds.
The maximum bounds.
Force a value within the boundaries by clamping it to the range
min,max.