inflation_calc
Adjust historical money amounts for inflation to find their equivalent value in any year, using country-specific data for the US, UK, Germany, or France.
Instructions
Calculate the inflation-adjusted value of money over time.
Parameters:
amount — Original amount of money.
from_year — Starting year (e.g. 2000).
to_year — Target year (e.g. 2026).
country — Country code for inflation data: 'US' (default), 'UK', 'DE', 'FR'.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| amount | Yes | ||
| from_year | Yes | ||
| to_year | Yes | ||
| country | No | US |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |