Hi!
Perhaps this helps the DEV to solve the problem of the negative balance in the software:
Solution 1: Change the data types "int64" and "qint64" to "double".
I tested it and it worked, but I did it only in one module. You need to swap these types of data throughout the project.
Solution 2: Recompile the software to and from 64-bit only.
I have not tested this solution, but it is very likely that it will solve the problem.
In my tests, I noticed that the "int64" and "qint64" data types have the following limitation on 32-bit platforms:
9,223,372,036,854.775808
or just over 9 trillion.
On 64-bit platforms it is possible that this limit extends to
9,223,372,036,854,775,807
In both platforms the "double" data type will have the limit of
1.7 ^ 308
which is an extremely large number to think that one day will be achieved.
Well, that's it.
jsff77