Number Ruby

'405'.to_i(16)                  # => 1029
'fed'.hex                       # => 4077
'fed'.to_i(16)                  # => 4077