javascript四舍五入tofixed 保留2位小数
toFixed() 方法可把 Number 四舍五入为指定小数位数的数字。
示例代码
$("#renjunlirun").val(zongLiRun.toFixed(2));//金额,保留两位小数
$("#renjunlirun").val(zongLiRun.toFixed(2));//金额,保留两位小数
如果不用isnull函数判断则计算出来如果有一列是null 则相加就是null,如 两列:1 null 1+null = null
select sum(ISNULL(jinE,0)+ISNULL(qitajine,0)) yingyeE form a
$("#qitarenyuanDiv").hide("fast");
$("#qitarenyuanDiv").show("fast");
$("#selectLine option[value!='']").remove();
onFocus="WdatePicker({onpicked:function(){alert(0);}})"