I’m nubbie in rails and ruby
In my app i get data from csv and in some fields of quantities value is 100> and etc. But how to check that? and select only integer(float) part? But note! it can be <20, >30, 30< and so over.
I’m nubbie in rails and ruby In my app i get data from csv
Share
If you have floating point numbers (not just the integer part), you can use a small variant of Justin Ko’s solution: