mirror of
https://gitee.com/dromara/hutool.git
synced 2025-04-05 17:37:59 +08:00
add test
This commit is contained in:
parent
d14c8517cd
commit
49dba65152
@ -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);
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user