摘要:
价格自动补0.toFixed(2)js判断变量类型var a = "¥ 129.00"; var pric = parseInt(a.replace("¥ ","")); document.write(typeof(pric)); 阅读全文
摘要:
价格自动补0.toFixed(2)js判断变量类型var a = "¥ 129.00"; var pric = parseInt(a.replace("¥ ","")); document.write(typeof(pric)); 阅读全文
|