2009年5月10日

float to string

就是用 str( ) 就可以
fnumber = 1.23
fstring = str(fnumber)
fstring 就會是 '1.23'

沒有留言:

張貼留言