标签:comment turn int abc number nbsp word comm div
1.string转int
(1)直接加空字符串
var
x=100;
a = x +
""
;
//JS会自动隐性转换
var
x=100;
a = x.toString();
标签:comment turn int abc number nbsp word comm div
原文地址:https://www.cnblogs.com/shenjikongjian/p/12165868.html