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; }