Não há nenhuma função build-in Math.round () na Lua, mas você pode fazer o seguinte: print(math.floor(a+0.5)) .
確定! 回上一頁