Rounds a number to the nearest integer.
math.round(value)
value
number
rounded
local rounded = math.round(6.8); print(rounded); -- Prints "7"