Number Ruby

puts "13: a baker's dozen".to_i                          # => 13
puts '1001 Nights'.to_i                                  # => 1001
puts 'Night'.to_i                                        
puts 'Equipment'.to_f
puts '$60.50'.to_f                                       # => 0.0
puts 'AAAA!'.hex                                         
puts '0xA2Z'.hex                                         # => 162
puts '-10'.oct                                           # => -8
puts '-109'.oct                                          # => -8
puts '3.14'.to_i                                         # => 3