JavaScript parseInt(),parseFloat()函数

parseInt方法接收两个参数:parseInt(string,radix?); parseFloat方法接收一个参数:parseFloat(string);