var i=((role-0)*0.6)+((($('#toa2').val()-0)+($('#toa3').val()-0))*0.4);
$(meanscore).html(i.toFixed(2));
$(meanscore).html(i.toFixed(2));
本文介绍了一个计算vari变量的公式,该公式结合了role、toa2和toa3等输入值,并使用了toFixed方法来格式化最终结果。
4万+
4485

被折叠的 条评论
为什么被折叠?