Numerical variables won't go past a certain range?

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.

First: You should not use float for something that is countable. Use Integer instead.
Second: Numerical Numbers have a limit, because they are represented by 32 bits.
Third: You have to split your “population” for example into millions, billions etc.
For example the number 1.200.000.000 would be 1 Billion and 200 million, where “1” is stored in a separate variable than the 200 million

Dang, I was afraid someone was gonna say something like that. Cause if I had these numbers split into 2 groups, how would I calculate what x% of the whole number so that I can continue to increase it exponentially?