数字变为字符串 str()字符串变为数字 string.atoi(s,[,base]) //base为进制基数浮点数转换 string.atof(s) 转载于:https://blog.51cto.com/robert283/1351368