So i want to do one thing in the future. I wanna round a number to the nearest thousand. I did this test that doesnt work. Help?
local x = 567
local a = 567 / 1000
local rounded = math.floor(a)
print (rounded * 1000)
for some reason it rounds downwards

3 comments
I know now
How would you do to round it to nearest number
If mattscy properly answered your question, be sure to mark his answer as correct!