Update NumberUtil.java

This commit is contained in:
neko 2020-09-27 18:11:42 +08:00 committed by GitHub
parent f46a404d9f
commit 31d8b238a3
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

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