lib/axlsx/workbook/worksheet/cell.rb in axlsx-1.2.2 vs lib/axlsx/workbook/worksheet/cell.rb in axlsx-1.2.3

- old
+ new

@@ -378,10 +378,10 @@ :time elsif v.is_a?(TrueClass) || v.is_a?(FalseClass) :boolean elsif v.to_s.match(/\A[+-]?\d+?\Z/) #numeric :integer - elsif v.to_s.match(/\A[+-]?\d+\.\d+?\Z/) #float + elsif v.to_s.match(/\A[-+]?[0-9]*\.?[0-9]+([eE][-+]?[0-9]+)?\Z/) #float :float else :string end end