日期:2014-05-16  浏览次数:20530 次

javascript杂乱

一个控件对象为this

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

?

保留小数位数

thisValue.toFixed(2)