JavaScript toFixed() 方法 定义和用法 toFixed() 方法可把 Number 四舍五入为指定小数位数的数字。 语法 NumberObject toFixed(num)n JavaScript 2022-04-09 97 点赞 1 评论 146 浏览