Yeah, but if you're going to start applying logic to a typical D&D fantasy world, it all falls apart anyway.
Put simply, there's far too much money and not enough inflation.
(And that's before you consider the fact that in D&D, gold is only a semi-precious metal).
In one of our campaigns...