I want to read a float from a csv file: my float is: 0,1660, now I just get the first digit: 0
Here you can see how I am reading it, the float character is in the fourth position of the array row:
CSV.foreach(path, {:col_sep => @seperator}) do |row|
r = Route.new
......
....
r.rate = row [3]
How can I get the whole number? What am I missing? Thanks!