inflation_calc
Compute the inflation-adjusted value of an amount from one year to another, using country-specific inflation data for US, UK, DE, or FR.
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 |