python字符串与数字的转化
2008-04-29 21:13

数字变为字符串 str()
字符串变为数字 string.atoi(s,[,base]) //base为进制基数

浮点数转换 string.atof(s)

来自http://hi.baidu.com/luwening/blog/item/1dfbc727a442c206908f9de5.html

相关文章:

  • 2022-12-23
  • 2021-05-25
  • 2022-02-08
  • 2021-12-20
  • 2022-12-23
  • 2022-12-23
  • 2021-12-09
猜你喜欢
  • 2021-12-28
  • 2022-12-23
  • 2022-12-23
  • 2021-12-18
  • 2022-12-23
  • 2021-06-21
  • 2021-11-07
相关资源
相似解决方案