$scope.number = function (item, field) { return parseFloat(item[field]).toFixed(2).replace(/(\d{1,3})(?=(\d{3})+(?:$|\.))/g, "$1,");
本文来自博客园,作者:程序员米粉,转载请注明原文链接:https://www.cnblogs.com/GoodPingGe/p/4819269.html