@@ -173,6 +173,7 @@ let scMathUtil = {
roundForObj:function(obj,decimal){
let me = this;
let value;
+ if(obj === undefined || obj === null) return 0;
let n = Math.pow(10,decimal);
if(me.isNumber(obj)){
value = Math.round(obj * n) / n;