Verified:

qzjul Game profile

Administrator
Game Development
10,263

Mar 22nd 2014, 15:48:32

Originally posted by Zorp:
Hmm, why are the dollar values truncated, and *before* adding them up? Since these are dollar amounts, it might make sense to include the decimals (cents) in the addition before truncating/rounding.

I believe this is his gripe, and to be honest I've always wondered why there aren't cents included in your on hand cash in the first place.


Ah, I may actually have done that wrong, I *think* they are rounded, not truncated.

But, they *HAVE* to be done that way, as when you buy off the market, you can be buying from multiple sellers; it thus has to do each transaction separately.... and then add them up

Let me edit the above to something that would work out the way i meant it to, with rounding.... hmmm

Edited By: qzjul on Mar 22nd 2014, 16:16:21
Back To Thread
See Original Post
See Subsequent Edit
Finally did the signature thing.