javascript错乱

javascript杂乱一个控件对象为thisvar thisValueisNaN(obj.value)?0:parseFloat(obj.value)?保留小数位

javascript杂乱

一个控件对象为this

var thisValue=isNaN(obj.value)?0:parseFloat(obj.value);

?

保留小数位数

thisValue.toFixed(2)