摘要: //设置金额为两位小数function setAmount(obj) { var amount = $(obj).val() * 1.0; amount = amount.toFixed(2); if (isNaN(amount)) { amount = "0.00"; } $(obj).val(amount);} 阅读全文
posted @ 2011-05-24 10:45 zzljh 阅读(236) 评论(0) 推荐(0) 编辑