jquery 保留两个小数的方法

$("#total" + billcode).text(data.Total.toFixed(2));

直接使用:toFixed(2)

原文地址:https://www.cnblogs.com/firstcsharp/p/3200952.html