I have two strings: 50% and 60%. I'm trying to compare the two strings and figure out that 60% is bigger than 50%. What would be the easiest and most clean way to compare the two strings? I can always remove the % sign, convert the strings to ints and compare them. But is there a better way?