convert the number range