保留2位小数?
bindAddm3:function(e) { var rm3 =(this.data.numg1 * 1 / ((this.data.numg1 * 1 / this.data.numd1 * 1 + this.data.numg2 * 1 / this.data.numd2 * 1 + this.data.numg3 * 1 / this.data.numd3 * 1) / 3 *2 - 1)); console.log(rm3); this.setData({ resultm3: rm3 })