摘要:
String.prototype.toThousands = function(){ return this.replace(/(\d)(?=(\d{3})+(?!\d))/g,"$1,")}'3800000.88'.toMoney() //"3,800,000.88"'38000.000'.... 阅读全文
posted @ 2014-12-31 11:19
大马德
阅读(511)
评论(0)
推荐(0)
2014年12月31日