lua 取整数

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

  

原文地址:https://www.cnblogs.com/byfei/p/2939262.html