Type conversion from string to float, to int



examples/strings/type_conversion.cr
value = "42.3"
p! value

puts value.to_f
p! value.to_f

value = "42"
puts value.to_i
p! value.to_i