Converting ranges to integer values.