字符串转换

1、字符串转换为整数

parseint()

2、字符串转换为小数

parsefloat()

原文地址:https://www.cnblogs.com/xinlvtian/p/8322220.html