Given a string object like this:
twohundred = "200"
What is the difference between doing:
Integer(twohundred) #=> 200
and:
twohundred.to_i #=> 200
Is there any difference? Is it recommended to use one among the other one?
question from:https://stackoverflow.com/questions/10093493/difference-between-integervalue-and-value-to-i