લખાણ પર જાઓ

ઢાંચો: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
  1. Rupee amount in INR, e.g. 100 (not 100)
  2. Target currency ISO code, e.g. USD (not US$ or dollar)
  3. Conversion year, e.g. 2018 (not 2018-05-03)
  4. 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}}