Are you new? Sign up now
The Daily Click
Klik Coding Help
Rounding up numbers
4th August, 2004 at 08:56:01 -
Is it possible to round up numbers ?
It would be fun to make a Bust A Move clone, but i want the bubbles to stick to a grid when they hit something (like in BaM), and i figure that'd require rounding up/down of their position numbers..
4th August, 2004 at 09:47:50 -
im not sure if mmf can do rounding right away, i hope you find what your looking for though
Mr Icekirby says so!
4th August, 2004 at 09:52:16 -
Of course it's possible, you just need a bit of maths knowledge. But that's not really rounding up in the common sense...
1) Use Easy Grid
2) Use the formula (X position / Grid Width) * X Position
Worth A Click