lua - 如何让小数四舍五入. 标签 lua rounding. 我目前正在使用此函数进行舍入: function round(val, decimal) if (decimal) then return math.floor( (val ...
確定! 回上一頁