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