Makes sure a value is within min and max. It sets the value to min or max in case it is below or above the range.
Makes sure a value is within min and max. It sets the value to min or max in case it is below or above the range.