rangeToPercent