Preserve negative sign on raw CSV values
This commit is contained in:
@@ -145,6 +145,6 @@ class Import < ApplicationRecord
|
||||
|
||||
def sanitize_number(value)
|
||||
return "" if value.nil?
|
||||
value.gsub(/[^\d.]/, "")
|
||||
value.gsub(/[^\d.\-]/, "")
|
||||
end
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user