The Daily Click ::. Forums ::. Klik Coding Help ::. Rounding up numbers
 

Post Reply  Post Oekaki 
 

Posted By Message

Lazernaut



Registered
  08/09/2002
Points
  1103

VIP MemberThe Cake is a LieIt's-a me, Mario!Wii OwnerPokemon Ball!
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..

 
n/a

Mr Icekirby



Registered
  18/12/2003
Points
  846
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!
OBEY ME!

ChrisB

Crazy?

Registered
  16/08/2002
Points
  5457
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...

You can:
1) Use Easy Grid
2) Use the formula (X position / Grid Width) * X Position

 
n/a
   

Post Reply



 



Advertisement

Worth A Click