lib/sycsvpro/table.rb
def to_number(value)
        value = convert_to_en(value)
        return value.to_i unless value =~ /\./
        return value.to_f if     value =~ /\./ 
      end
def to_number(value)
        value = convert_to_en(value)
        return value.to_i unless value =~ /\./
        return value.to_f if     value =~ /\./ 
      end
def to_number ( value ) value = convert_to_en ( value ) return value . to_i unless value =~ / \. / return value . to_f if value =~ / \. / end
Casts a string to an integer or float depending whether the value has a
 decimal point
Casts a string to an integer or float depending whether the value has a decimal point