js中String转Int

js中字符串转数字

    parseInt(s); 

    parseFloat(s); 

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