2016年5月20日

Nvelocity中格式化金钱和日期

摘要: //格式化金钱( 9,999.00)function formatCurrency(num) { num = num.toString().replace(/\$|\,/g, ''); if (isNaN(num)) num = "0"; sign = (num == (num = Math.abs 阅读全文

posted @ 2016-05-20 14:24 lovezj9012 阅读(622) 评论(0) 推荐(0)

导航