Yes, it was too stupid of me to think that was a viable solution. What I came up with is making an int array to store numbers. In index 0: hundred, index 1: thousands, index 2: millions, etc. If the numbers on thousands reach 1000 or over I remove 1000 and add 1 on the next index and via versa. Also is made so the numbers that will be added never reach more than 1000 by using a counter to be used to determine in what index to add the number. If I want to add 5 mills I won’t have to store the whole number but just the number 5 and the counter 2. That way it will go in the index 2 and add 5.
1 Like