 Let's suppose that the inflation fairy came and doubled the price of everything overnight. Well, then all the assets the companies own would also double. And those inflated assets can be part of what determines a company's stock price. Another part? A firm's earnings. Those too can get an apparent boost from rising prices, says Samir Samana, a market strategist with Wells Fargo Investment Institute.