📜  parseInt() javascript 代码示例

📅  最后修改于: 2022-03-11 15:04:07.910000             🧑  作者: Mango

代码示例5
var myNumber="120";
var myString =parseInt(myNumber); //converts string to number return: 120