Hello there, so I’m making a game that displays the population of the planet, while the population continues to expand, so I’m trying to get it to write out a variable that goes into the billions, trillions etc. But every time they go over a certain value, they just turn negative and then they don’t change at all.
So here is where I’m handling the number change. Each time you click a button, the current value increases by 1%.
And this is what keeps happening every time it gets to a certain point. Why is this happening? I’ve tried using all kinds of numerical variables and setting them in all kinds of ways but I always get this negative number nonsense. If anybody has insight into this I’d greatly appreciate it.