When subtracting decimals, it goes nuts after once it goes below 1.
Numbered Steps to Reproduce Problem:
Code Snippet (if applicable) to Reproduce Problem:
mob |
Expected Results:
Not what it's doing below. :(
Actual Results:
1.9 |
Does the problem occur:
Every time? Or how often?
Every time.
In other games?
Untested.
In other user accounts?
Untested.
On other computers?
Untested.
When does the problem NOT occur?
When round() is used.
Did the problem NOT occur in any earlier versions? If so, what was the last version that worked?
I've only tested it on 479 and 480, and it happens in both of those versions.
Workarounds:
Use round() to the approximate decimal.