Skip to content

Commit

Permalink
read count as floored double
Browse files Browse the repository at this point in the history
  • Loading branch information
Maxim Moinat committed Jun 10, 2020
1 parent 03bdd77 commit 37fdf22
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -260,7 +260,7 @@ private static ValueCounts getValueCounts(QuickAndDirtyXlsxReader workbook, Stri

// If the count is not a number, ignore this row
try {
valueCounts.add(value, Integer.parseInt(count));
valueCounts.add(value, (int) Double.parseDouble(count));
} catch (NumberFormatException e) {
// Skip if count could not be parsed. In most cases this is for empty count at 'List Truncated...'
}
Expand Down

0 comments on commit 37fdf22

Please sign in to comment.