What does rating.to_i do (what is the i standing for)


#1



Replace this line with your code.


#2

@jkm345,
Have a read through
http://stackoverflow.com/questions/30458306/how-to-convert-a-string-into-integer-without-using-ruby-to-i-method


#3

to_i

i = stands for integer


#4

it allows ruby to recognize that the user input is a number and not a string