Skip to content

Commit

Permalink
add test
Browse files Browse the repository at this point in the history
  • Loading branch information
looly committed Jun 30, 2024
1 parent d14c851 commit 49dba65
Showing 1 changed file with 6 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -661,4 +661,10 @@ public void testPowSmallNumber() {
BigDecimal expected = new BigDecimal("1000.00");
assertEquals(expected, NumberUtil.pow(number, exponent));
}

@Test
public void issue3636Test() {
final Number number = NumberUtil.parseNumber("12,234,456");
Assert.assertEquals(new BigDecimal(12234456), number);
}
}

0 comments on commit 49dba65

Please sign in to comment.