摘要: $scope.number = function (item, field) { return parseFloat(item[field]).toFixed(2).replace(/(\d{1,3})(?=(\d{3})+(?:$|\.))/g, "$1,"); 阅读全文
posted @ 2015-09-18 15:09 程序员米粉 阅读(166) 评论(0) 推荐(0) 编辑