摘要:
var a = 222122122.6754; var b = a.toFixed(2).replace(/(\d)(?=(\d{3})+\.)/g, '$1,');//使用正则替换,每隔三个数加一个',' 原文链接:https://blog.csdn.net/qq_36658051/article 阅读全文
摘要:
NumberUtils.toDouble(new DecimalFormat("0.00").format(issueNo)); https://blog.csdn.net/a1064072510/article/details/89887633 阅读全文