Clamps an integer number between two values.
the clamped number
the number to clamp
the minimum
the maximum