round lua code example
Example: lua round number
local number = 15.57
local number2 = 15.23
print(math.floor(number + 0.5)) --16
print(math.floor(number2 + 0.5)) --15
local number = 15.57
local number2 = 15.23
print(math.floor(number + 0.5)) --16
print(math.floor(number2 + 0.5)) --15