Originally Posted by Son Goku
So, why store it in a 32-bit int?
Possibly a software optimization is my guess. Rather than take 3+ steps to process this value each time it is used (depending on the operation,) it will be done in one step almost always. Client side this wouldn't matter much, but server side it saves precious CPU time. Unless of course the server doesn't really pay attention to how much gold you actually have and leaves that up to the client, but that would be a very bad idea.