Skip to content

Commit

Permalink
Fixed issue skyscreamer#107
Browse files Browse the repository at this point in the history
  • Loading branch information
whitecat315 authored Apr 26, 2021
1 parent 2549d9d commit 6d0b740
Showing 1 changed file with 6 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -43,10 +43,13 @@ static ArrayList<String> pretreatBigNumber(ArrayList<String> num) {
ArrayList<String> pretreat = new ArrayList<String>();
for (String i : num) {
i = removeEndZero(i);
if ((!(String.valueOf(Double.parseDouble(i)).equals(i)))&&(!(String.valueOf(Long.parseLong(i)).equals(i)))) {
i = "a" + i;
try {
if ((!(String.valueOf(Double.parseDouble(i)).equals(i))) && (!(String.valueOf(Long.parseLong(i)).equals(i)))) {
pretreat.add(i);
}
pretreat.add(i);
} else {
} catch (NumberFormatException e) {
i = "a" + i;
pretreat.add(i);
}
}
Expand Down

0 comments on commit 6d0b740

Please sign in to comment.