js中String转Int

js中字符串转数字

    parseInt(s); 

    parseFloat(s); 

    Number(s); 
posted @ 2020-09-04 18:49  玖捌贰陆  阅读(318)  评论(0)    收藏  举报