# வார்ப்புரு:INRConvert/HistoricalRate

<noinclude>This subtemplate takes in two parameters:
1. target currency
1. Default: USD
1. Supported values:
1. XDR - special drawing rights unit
1. USD - அமெரிக்க டாலர்
1. GBP - பிரித்தானிய பவுண்டு
1. JPY - யென்
1. DEM - Deutsche mark, only supported when the year argument between 1970 and 1998
1. EUR - ஐரோ, only supported when the year argument is 1999 or greater
1. conversion calendar year
1. Default: (last year)
1. Supported values: any whole-digit year between 1970 and
1. The Deutsche mark is not supported after 1998
1. The euro is not supported before 1999  
It outputs the number of rupees per a single unit of the given currency using the average exchange rate in the given calendar year.  
; Supported currencies and years
Exchange rates for the Indian rupee are taken from the Handbook of Statistics on Indian Economy, published every September by the Reserve Bank of India. These are average rates for the previous year, so the latest rates in the September report would be for . This means that before the report is published, the table would be missing the rates for two years, both for the current year and the previous year. After the report is published, only the current year's rates would be missing.  
As a compatibility measure, "dummy" rates will be provided for both the current year and the immediately previous year. These rates will always be set to the rates of the most recent year for which they are available. After the handbook is released, these rates should be updated to the most recent available rates. The reason for providing the current year is so that articles can set the year parameter to the current year before the rates are published.  
This template does not support currencies for which the Reserve Bank of India does not explicitly provide exchange rate information.  
;How to update the table
1. Find the Handbook of Statistics on Indian Economy for the current year &ndash; this is published by the Reserve Bank of India around September every year. The latest version may be found at https://www.rbi.org.in/scripts/AnnualPublications.aspx?head=Handbook%20of%20Statistics%20on%20Indian%20Economy
1. Open the table of the exchange rates of the Indian rupee vis-à-vis other currencies in the handbook &ndash; use the table with the annual averages for the calendar year, not the financial year.
1. Edit this template, and at the bottom of the table, update the values for the previous year. For example, if you have the handbook published in , the latest rates it provides are for . If a year is not listed, copy the entry for the latest available year and update the values until all missing years are filled.
1. Note that for the Japanese yen, the value given by the handbook should be divided by 100, because the given figures are for 100; so if 64.6161 is given, write 0.646161. This does not apply to other currencies.
1. If it does not exist already, add a set of values for the current year. The rates should be exactly the same as for the previous year. This is for compatibility reasons, and these rates should be updated when the next year's handbook is published.
1. Add the latest handbook to the list of data sources, using the template. Use the Internet Archive and Archive.is to make a back-up of the relevant table from the handbook.  
;Data sources:
1. 1970-1980:
1. 1981-2018:
1. 2019:
</noinclude>