Inflation, which erodes the purchasing power for consumers as well as businesses, happens in two ways.