adjust_for_inflation
Adjust for inflation
Use this when the user asks a us inflation calculator question, for example what is $100 worth today, the value of money over time, or a dollar inflation calculator, buying power calculator or consumer price index calculator request for US dollars. It converts one US dollar amount between two periods with the published CPI-U index and returns the adjusted amount, both index values, the cumulative inflation, the average annual rate, and the buying-power change. It works for published periods from 1913-01 to the latest bundled month, year or YYYY-MM inputs, and amounts greater than zero up to one trillion dollars including fractional cents; only the output is rounded to cents. Do not use for other countries, for regional or core CPI, for forecasts, or for financial advice.
torequiredfromrequiredamountrequired
