Clamp the provided number between the lower bound and the upper bound.
The desired lower bound.
The number to clamp.
The desired upper bound.
The clamped number.
Clamp the provided number between the lower bound and the upper bound.