- Joined
- Mar 16, 2008
- Messages
- 952
I need a way to divide two integers and then round it up. Seems the default is to round down. Seems the built-in Round function only works for "real" numbers.
Anyone know the right way to do this?
Convert the integers to real variables then round then convert back to integer for later use?
GOAL: trying to create a system that will create a rounded up ratio of two different classes of players (knights:kings type players). Then we will use this ratio, rounded up, to dynamically limit team sizes in other triggers.
Anyone know the right way to do this?
Convert the integers to real variables then round then convert back to integer for later use?
GOAL: trying to create a system that will create a rounded up ratio of two different classes of players (knights:kings type players). Then we will use this ratio, rounded up, to dynamically limit team sizes in other triggers.
Last edited: