سانچہ:To USD
ظاہری ہیئت
| اس سانچے میں حسب ذیل لوا ماڈیول زیر استعمال ہے: |
This template converts a value given in the national currency of a given country to امریکی ڈالر. The template uses values published by the بین الاقوامی مالیاتی فنڈ,[1] as well as by the عالمی بنک,[2] the یورپی مرکزی بینک,[3] Eurostat,[4] and the ریزرو بینک آف انڈیا.
Syntax
[ترمیم]{{To USD | {{{1}}} | {{{2}}} | year = {{{year}}} | round = {{{round}}} | r = {{{r}}} | cur = {{{cur}}} }}
- {{{1}}} and {{{2}}} are the template positional parameters (this is, the first and the second parameters in the template).
- {{{1}}} is the value in the local currency to be converted.
- {{{2}}} is the country name or 3-letter ISO code for the country whose currency is being converted.
- {{{year}}} is the year to use for the US dollar value, e.g. US dollars current in 2009. The default is currently 2021.
- {{{round}}} is an optional parameter. If it is equal to "yes", then the converted value is displayed to the nearest US dollar. The default is rounding to the nearest penny.
- {{{r}}} is an optional parameter. It sets the digits to which the result must be rounded. A positive value indicates a fractional digit including trailing zeros. Defaults to
2. - {{{cur}}} is an optional parameter. It allows to select the currency for the country. Currently only supported for the Euro and the currencies that have been immediately replaced by the Euro.
Examples
[ترمیم]{{To USD|100|Mexico}}displays نقص اظہار: «{» کا غیر معروف تلفظ۔. That is, 100 میکسیکن پیسوs would exchange to نقص اظہار: «{» کا غیر معروف تلفظ۔ امریکی ڈالر.{{To USD|100|MEX}}also displays نقص اظہار: «{» کا غیر معروف تلفظ۔.{{To USD|100|MEX|round=yes}}displays نقص اظہار: «{» کا غیر معروف تلفظ۔.{{To USD|100|FRA}}displays نقص اظہار: «[» کا غیر معروف تلفظ۔. That is, 100 یورو (the currency used in France) is currently نقص اظہار: «[» کا غیر معروف تلفظ۔ US dollars.{{Formatnum:{{To USD|100000|RUS}}}}displays نقص اظہار: «{» کا غیر معروف تلفظ۔.{{To USD|100|MEX|year=1959}}displays نقص اظہار: «{» کا غیر معروف تلفظ۔ since data for 1959 has not yet been defined. It will add the page to Category:Pages using an undefined year in Template:To USD
| اوپر دی گئی دستاویز صفحہ سانچہ:To USD/دستاویز سے شامل کی گئی ہے۔ (ترمیم | تاریخچہ) صارفین سانچہ کے تختہ مشق (تخلیق | آئینہ) اور ثابتات (تخلیق) میں تجربات کرسکتے ہیں۔ براہ کرم /دستاویز کے ذیلی صفحہ پر زمرہ جات شامل فرمائیں۔ اس سانچہ کے ذیلی صفحات۔ |
- ↑ "Official exchange rate (LCU per US$, period average)"۔ اخذ شدہ بتاریخ 2013-04-14
- ↑ "The World Bank exchange rate, DEC alternative conversion factor (LCU per US$)"۔ اخذ شدہ بتاریخ 2019-12-31
- ↑ "Reference rates - Exchange rates - ECB Statistical Data Warehouse"
- ↑ "Eurostat Database"