I doubt the authors were smart enough to think of this, and I don't think most people here have really thought of this yet. The online gaming industry is going to be very interested in this once they realize the potential impacts.
In the case of Diablo III, you can sell your in-game virtual gold for real money in their Real Money Auction House, via PayPal. Other games have less official means of exchanging between currencies, but that's at least one official/built-in version that I can think of.