We should also say that this is 0 if 0 is within bounds, or middle of the range, if 0 is not in the range.