This commit is contained in:
thinkgem
2022-03-12 09:13:36 +08:00
parent 581b40437e
commit ab1481f6c7

View File

@@ -42,6 +42,9 @@ public class ObjectUtils extends org.apache.commons.lang3.ObjectUtils {
}
try {
String str = val.toString();
if (StringUtils.isBlank(str)) {
return 0D;
}
if (StringUtils.contains(str, "*")) {
Double number = null, d = null;
for (String s : StringUtils.split(str, "*")) {