murphydbuffalo / code_kata_hex_to_decimal Goto Github PK
View Code? Open in Web Editor NEWWrite a method that converts a given hexadecimal number to decimal a decimal number. Your solution doesn't count if you use the built in `String#to_i` method and base in a base of 16, like this: