Clamps a number within the specified range.
The number to clamp.
The lower bound of the range.
The upper bound of the range.
The clamped value.
Clamps a number within the specified range.