lua 类型转换

string to int

tonumber

print(tonumber("1234"))

 

posted @ 2013-01-18 13:54  byfei  阅读(1700)  评论(0)    收藏  举报