toFixed(2)

保留2位小数
原文地址:https://www.cnblogs.com/xiaobiaomei/p/9027587.html