From a9b880fe96651f453c90d687b4c7777690b48da8 Mon Sep 17 00:00:00 2001 From: Isaac Martin Date: Mon, 22 Jul 2024 16:47:55 -0500 Subject: [PATCH] fix(scientific-nota-long): IT-6704-parselong-1E-3 --- .../java/com/widen/tabitha/plugins/excel/XLSXRowReader.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tabitha-excel/src/main/java/com/widen/tabitha/plugins/excel/XLSXRowReader.java b/tabitha-excel/src/main/java/com/widen/tabitha/plugins/excel/XLSXRowReader.java index 00777f1..7d081b6 100644 --- a/tabitha-excel/src/main/java/com/widen/tabitha/plugins/excel/XLSXRowReader.java +++ b/tabitha-excel/src/main/java/com/widen/tabitha/plugins/excel/XLSXRowReader.java @@ -307,7 +307,7 @@ else if (event == XMLStreamConstants.END_ELEMENT && elementMatches("v")) { cellValue = Variant.of(Double.parseDouble(valueString)); } else { - cellValue = Variant.of(Long.parseLong(valueString)); + cellValue = Variant.of(Double.valueOf(valueString).longValue()); } break; }