Scripting HelpersARCHIVE
A little piece of Roblox history. Preserved for everyone, one question at a time.Read about the archive →
✓ ANSWER ACCEPTED

How do I round a number up or down to a multiple of a certain number?

I've been trying to write a function that rounds a number to the multiple of 4 with the least absolute distance from the number. How do I do this?

I honestly have absolutely no clue how to do this, please help me.

1 answer

This discussion is preserved as it was. New answers, comments, and votes are closed.