Convert Number « String « Ruby






1.To convert a string into a float, use the to_f method
2.convert a string to an integer, use to_i
3.String to number