This commit is contained in:
Looly 2024-06-30 17:51:24 +08:00
parent d14c8517cd
commit 49dba65152

View File

@ -661,4 +661,10 @@ public class NumberUtilTest {
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);
}
}