let a = '111.2'; let b = '22.01'; let c = (Number(a) + Number(b)).toFixed(2); console.log(c); 输出结果 "133.21"