摘要: function formatAmount(amount) { amount = amount.toString(10).split('.'); let _int = amount[0].split(''), _decimals = amount[1], _num = ''; for (let i = _int.length - 1, j = 1; i >= 0; i--... 阅读全文
posted @ 2019-04-24 19:07 沐子馨 阅读(169) 评论(0) 推荐(0) 编辑