Hi everyone! So, here's the deal. I am currently working on an incremental game, and everything works fine, until I hit the Billions of dollars mark. Then, all of a sudden, this bit of code...

...ceases to function properly, only subtracting about 1.4 mil from the money total, while properly adding the XP to Character XP Attribute.
Now, after some experimentation, I have hit a brick wall with how to fix this issue. In the below screenshot, I have highlighted 3 numbers. The first is a scene attribute, displaying a pretty large number. The second is a game attribute, displaying an even larger number. The third (and this is where I am having my issue), is a full display of the Money Attribute, which counts up to twenty million, goes negative, counts up to 20 million again, repeats indefinitely.

So, I am wondering what, if anything, can be done about this? Any feedback or help would be greatly appreciated, and I will be more than happy to supply any other information necessary to get this fixed. Thanks in advance.