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