فرما:INRConvert/HistoricalRate/Formatted
Given a rupee amount, a target currency and a conversion year, this subtemplate will output the converted amount in the target currency using the exchange rate in the given year. This uses {{INRConvert/HistoricalRate}}. If the target currency or conversion year are not supplied, they may be defaulted by the aforementioned template.
- Parameters
- Rupee amount in INR, e.g. 100 (not ₹100)
- Target currency ISO code, e.g. USD (not US$ or dollar)
- Conversion year, e.g. 2018 (not 2018-05-03)
- Number of decimal places to round to, e.g. 2 to round to 2 decimal places, or -2 to round to the nearest 100; default is 2
- Example
{{INRConvert/HistoricalRate/Formatted|100|USD|2018}}