Update NumberUtil.java

This commit is contained in:
neko
2020-09-27 18:11:42 +08:00
committed by GitHub
parent f46a404d9f
commit 31d8b238a3

View File

@@ -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) {