Answers for "string to an int ruby"

3

integer to string ruby

my_int = 69
my_int_to_string = my_int.to_s

puts my_int.class # Integer
puts my_int_to_string.class # String
Posted by: Guest on July-17-2020
0

rails comparar string to integer

val1 == val2.to_i
Posted by: Guest on June-10-2020

Browse Popular Code Answers by Language