python字符串与数字的转化
python字符串与数字的转化
2008-04-29 21:13
| 数字变为字符串 str() 字符串变为数字 string.atoi(s,[,base]) //base为进制基数 | 
浮点数转换 string.atof(s)
来自http://hi.baidu.com/luwening/blog/item/1dfbc727a442c206908f9de5.html
| 数字变为字符串 str() 字符串变为数字 string.atoi(s,[,base]) //base为进制基数 | 
浮点数转换 string.atof(s)
来自http://hi.baidu.com/luwening/blog/item/1dfbc727a442c206908f9de5.html
