exchange_rates_convert
Convert amounts between two currencies using current BNR exchange rates, with cross-rate calculation through RON for non-RON pairs and results rounded to two decimal places.
Instructions
Convert an amount between two currencies using current BNR exchange rates. For non-RON to non-RON conversions, cross-rates through RON are calculated. Result is rounded to 2 decimal places.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| to | Yes | Target currency code (ISO 4217, e.g., RON, EUR, USD) | |
| date | No | Specific date for exchange rate (YYYY-MM-DD, defaults to latest rates) | |
| from | Yes | Source currency code (ISO 4217, e.g., EUR, USD, RON) | |
| amount | Yes | Amount to convert |