This template converts a value given in the national currency of a given country to international dollars.
((International dollars | (({1))} | (({2))} | year = (({year))} | round = (({round))} | r = (({r))} ))
2
.((International dollars|100|Mexico))
displays 9.89. That is, 100 Mexican pesos had the same purchasing power as 9.89 US dollars in 2016.((International dollars|100|MEX))
also displays 9.89.((International dollars|100|MEX|round=yes))
displays 10.((International dollars|100|MEX|year=2009))
displays 12.3. That is, 100 Mexican pesos had the same purchasing power as 12.3 US dollars in 2009.((International dollars|100|MEX|year=1901))
displays Undefined year "1901" since data from 1901 has not yet been defined.((International dollars|1|USA))
displays 1.((International dollars|0.01|IND|year=2009))
displays 0.((International dollars|0.01|IND|year=2009|r=4))
displays 0.0006.((International dollars|0.01|IND|year=2009|r=5))
displays 0.00059.((International dollars|1|GBR|year=2009))
displays 1.54.((International dollars|1|GBR|year=2011))
displays 1.39.((International dollars|1|GBR|year=2012))
displays 1.3.((International dollars|1|GBR|year=2014))
displays 1.26.((International dollars|1|GBR|year=2015))
displays 1.25.((International dollars|1|GBR|year=2016))
displays 1.25.((International dollars|1|GBR|year=))
displays 1.25 (last year available).((International dollars|1|GBR))
displays 1.25 (last year available).((formatnum:))
TemplateData for International dollars
Template to convert other currencies into international dollars, by year.
Parameter | Description | Type | Status | |
---|---|---|---|---|
amount | 1 | value in foreign currency to convert to international dollars
| Number | required |
country code | 2 country | ISO 3166-1 alpha-3 country code
| Line | required |
year | year | Year to convert currency
| Number | required |
round to nearest dollar? | round | If 'yes', rounds to nearest whole dollar amount. If omitted, rounds to nearest international dollars cent.
| String | optional |
resolution | r | The number of digits of precision in the result value.
| Number | optional |