I am making a math project to round a number. Please round this and not truncate it. Thanks!
COMMUNITY QUESTION
How do you round a number to the nearest three decimal in roblox?
0 answers
No public answers were preserved for this question.
This discussion is preserved as it was. New answers, comments, and votes are closed.

5 comments
math.ceil
@incap he asked to the 3rd decimal place
print(tonumber(string.format("%." .. (3) .. "f", roundingNumber)))
math.floor((x * 1000) + 0.5) / 1000
Thank You Zafirua!