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)
浙公网安备 33010602011771号