js中String转Int

js中字符串转数字

    parseInt(s); 

    parseFloat(s); 

    Number(s); 
原文地址:https://www.cnblogs.com/cn9826/p/13615574.html