//js中将金额转为千分位格式
(moneySum.toFixed(2) + ‘’).replace(/\d{1,3}(?=(\d{3})+(.\d*)?
)
/
g
,
′
)/g, '
)/g,′&,’);
//jsp中将金额转为千分位
<fmt:formatNumber value="${row.totalFundProjectMoneyStr}" pattern="#,##0.00"/>
//java中将金额转为千分位
DecimalFormat df = new DecimalFormat(",###,##0.00");
df.format(this.getInMoney());