From 71831c1023dd10eae9769d0f53158002bcc0d96c Mon Sep 17 00:00:00 2001 From: mjkhan21 Date: Thu, 25 Apr 2024 10:50:15 +0900 Subject: [PATCH] =?UTF-8?q?n=5Fnn0=5F2(..)=20=EC=88=98=EC=A0=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/main/java/cokr/xit/foundation/data/DataFormat.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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