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