jquery 通过 toFixed 保留两位小数 <script> var num = 12.21654; console.log(num.toFixed(2)) </script> 相关文章: 2021-11-14 2022-01-02 2021-11-18 2021-12-18 2021-12-18 2021-11-08 2021-10-19