Managing a numeric value within a given range