math.round
Syntax
Get the nearest integer. The arithmetic rounding convention is used (e.g., 2.6 rounds to 3.0 and 2.4999 rounds to 2).
i - nearest integer
n - number to round
math.random.uniform
math.rshift
9.1.13