diff --git a/src/main/java/cokr/xit/foundation/data/DataFormat.java b/src/main/java/cokr/xit/foundation/data/DataFormat.java index 722f08c..8463a86 100644 --- a/src/main/java/cokr/xit/foundation/data/DataFormat.java +++ b/src/main/java/cokr/xit/foundation/data/DataFormat.java @@ -107,7 +107,7 @@ public class DataFormat extends AbstractComponent { if (obj == null) num = 0; else if (obj instanceof String) - num = Double.valueOf((String)obj); + num = Double.valueOf(ifEmpty((String)obj, "0")); else if (obj instanceof Number) num = (Number)obj; else