Constraint a value to lie between two values.
The clamped value such that min <= result <= max.
The value to clamp.
The minimum value.
The maximum value.
Online Documentation