javascript杂乱
一个控件对象为this
var thisValue=isNaN(obj.value)?0:parseFloat(obj.value);
?
保留小数位数
thisValue.toFixed(2)
发布时间: 2012-10-26 10:30:59 作者: rapoo
javascript杂乱
一个控件对象为this
var thisValue=isNaN(obj.value)?0:parseFloat(obj.value);
?
保留小数位数
thisValue.toFixed(2)