Index: ssts-web/src/main/webapp/js/common.js =================================================================== diff -u -r15999 -r16004 --- ssts-web/src/main/webapp/js/common.js (.../common.js) (revision 15999) +++ ssts-web/src/main/webapp/js/common.js (.../common.js) (revision 16004) @@ -2251,7 +2251,7 @@ if(value == null){ return true; } - if(value+'' == ''){ + if(value == ''){ return true; } return false; @@ -2474,4 +2474,12 @@ ext.getCmp(id).setValue(data.get(value)); }); } +} + +function formartToFixedFloat(v,vfractionDigits) { + if(!isUndefinedOrNullOrEmpty(v)){ + var temp = parseFloat(v); + return temp.toFixed(vfractionDigits); + } + return v; } \ No newline at end of file