01.04.2011, 03:34
Quote:
Or just rearrange:
Код:
a = PlayerInfo[i][pSavings] b = ((5 / 10) / 100) * a - In integer maths 5 / 10 = 0... - Remove unneeded brackets: b = 5 / 10 / 100 * a - Move operators about because they all have the same precedence: b = 5 * a / 10 / 100 - Group operators: b = 5 * a / (10 * 100) - Result: b = 5 * a / 1000 |
Jk...
I had the same thought as calg00ne. :S