Template documentation[view] [edit] [history] [purge] This template converts a value given in the national currency of a given country to a round US dollar figure. The intended use is for large round figures, when you don't want 3.2 million euros turning into $3,655,040 dollars, you just want a round figure like $3,600,000. It tries to mimic the same number of significant figures, as are present in the original amount. The template uses values published by the IMF.

பொருளடக்கம்


Syntax தொகு

{{To USD round|AMOUNT|COUNTRY|YEAR|sf=SIGFIG}}

  • AMOUNT is the value in the local currency to be converted.
  • COUNTRY is the country name or 3-letter ISO code for the country whose currency is being converted.
  • YEAR (optional) is the year to use for the US dollar exchange rate value against the currency of the other country. The default is currently 2019. Possible values: 2002, 2011, 2012, 2013, 2014, 2015, 2016, 2017, 2018, 2019.
  • SIGFIG (optional) is a numerical value. If present, the converted value is displayed to the that number of significant figures. The default is the number of significant figures in AMOUNT.


Examples தொகு

Bad rounding hereFormatting error: invalid input when rounding displays 270. That is, 5200 Mexican pesos would exchange to roughly 270 US dollars (to two signficant digits) at the 2019 exchange rate.Bad rounding hereFormatting error: invalid input when rounding also displays 270.Bad rounding hereFormatting error: invalid input when rounding displays 1,400.Bad rounding hereFormatting error: invalid input when rounding displays 270.Bad rounding hereFormatting error: invalid input when rounding displays 2,800.

Undefined year "1998" displays Undefined year "1998" since data for 1998 has not been defined. It will add the page to Category:Pages using an undefined year in Template:To USD roundBad rounding hereFormatting error: invalid input when rounding displays 380 since data for 2009 has not been entered for Mexico. It will add the page to Category:Pages using an undefined country code in Template:To USD roundBad rounding hereFormatting error: invalid input when rounding = 350,000Bad rounding hereFormatting error: invalid input when rounding = 149,000Bad rounding hereFormatting error: invalid input when rounding = 149,000 (last year available)Bad rounding hereFormatting error: invalid input when rounding = 149,000 (last year available)Bad rounding hereFormatting error: invalid input when rounding = 190,000,000Bad rounding hereFormatting error: invalid input when rounding = 186,400,000Bad rounding hereFormatting error: invalid input when rounding displays 33.220. # Some combos make no sense; USD doesn't have tenths of a cent.


See also தொகு

Template:US$ Template:Inflation: Calculates a value in a given country in a given year based on an amount of currency in the same country in another year. Template:To USD Template:Round Template:significant figures Template:International dollars: Converts a value in a given country in a given year to international dollars.



Data subtemplates தொகு

2002 2011 2012 2013 2014 2015 2016 2017 2018 2019


References தொகு

^

TemplateData தொகு

This is the TemplateData for this template used by TemplateWizard, VisualEditor and other tools. Click here to see a monthly parameter usage report for this template based on this TemplateData. TemplateData for To USD round Template to convert other currencies into United States dollars, by year, based on information from the International Monetary Fund, and with selected number of significant figures Template parameters Parameter Description Type Status amount 1 value in foreign currency to convert to USD Example 175000 Number required country code 2 country ISO 3166-1 alpha-3 country code Example MEX Line required year year Year to convert currency. Values: 2002, 2011–2019. Example 2002 Number optional significant figures sf If numeric, rounds to that many significant figures. If omitted, rounds to number of significant figures in 'amount'. Example 3 Number optional The above documentation is transcluded from Template:To USD round/doc. (edit | history) Editors can experiment in this template's sandbox (edit | diff) and testcases (edit) pages. Add categories to the /doc subpage. Subpages of this template.

"https://ta.wikipedia.org/w/index.php?title=வார்ப்புரு:To_USD_round/doc&oldid=3382649" இலிருந்து மீள்விக்கப்பட்டது