js取两位小数

Number(sum_price).toFixed(2)
原文地址:https://www.cnblogs.com/JANCHAN/p/7355563.html