mirror of
https://gitee.com/chinabugotech/hutool.git
synced 2025-04-19 03:01:48 +08:00
Update NumberUtil.java
This commit is contained in:
parent
f46a404d9f
commit
31d8b238a3
@ -150,7 +150,7 @@ public class NumberUtil {
|
||||
}
|
||||
|
||||
String value = values[0];
|
||||
BigDecimal result = null == value ? BigDecimal.ZERO : new BigDecimal(value.toString());
|
||||
BigDecimal result = null == value ? BigDecimal.ZERO : new BigDecimal(value);
|
||||
for (int i = 1; i < values.length; i++) {
|
||||
value = values[i];
|
||||
if (null != value) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user