Is there any neat method to convert \"1,112\" to integer 1112, instead of 1?
I\'ve got one, but not neat:
\"1,112\".split(\',\').join.to_i #=> 11
Some more convenient
"1,1200.00".gsub(/[^0-9]/,'')
it makes "1 200 200" work properly aswell