Ah, when converting, the converted amount was never deducted from the original amount...
101 copper should be 101/1000 = 0 by integer division, then 101/100 = 1, so 1 gold, so new amount is now 101-100 = 1 remainder, 1 /10 = 0 silver, then +1 copper, so 101 copper = 1 gold 1 copper.
Good catch on that Yoda. Just merged the fix in.
__________________
Quitters never win, and winners never quit, but those who never win and never quit are idiots.
|