You can determine if a number is an integer by comparing math.floor(x) == x . To round a number to the nearest integer (half up), use math.floor( ...
確定! 回上一頁