价钱的格式化.txt $.views.converters({ numeral2: function (v, formatType) { if (v == "" || v == undefined) { return "0"; } else { if (formatType == null) { formatType = "0,0.00" } return numeral(v).format(formatType); } } });
$.views.converters({ numeral2: function (v, formatType) { if (v == "" || v == undefined) { return "0"; } else { if (formatType == null) { formatType = "0,0.00" } return numeral(v).format(formatType); } } });