lua 取整数

local a,b = math.modf(7/3)
print(a,b)

  

posted @ 2013-03-01 18:16  byfei  阅读(2108)  评论(0编辑  收藏  举报