সাঁচ:US$
This template adds the currency mark "US$" linked to the United States dollar article.
Usage
সম্পাদনা কৰক{{US$|value}}
- value must be specified.
{{US$|123.45}} produces US$123.45.
Inflation calculation
সম্পাদনা কৰকThe template now supports calculation of inflation. A second parameter can be used to specify a year between 1913 and 2009 and will calculate the relative value in 2010.
{{US$|value|year}}
A third parameter about will cause the template to calculate to the nearest dollar instead of the nearest cent. This can be activated by typing about=yes.
Examples:
- {{US$|10|1935}} → US$10 ($188.76 in 2024)
- {{US$|10|1935|round=0}} → US$10 ($189 in 2024)
- {{US$|1000|1935|round=2}} → US$1,000 ($18,876.21 in 2024)
- {{US$|1000|1935|round=-2}} → US$1,000 ($18,900 in 2024)
Link
সম্পাদনা কৰকThe link parameter may be used to link US$ to the article United States dollar. This is turned off by default, but may be appropriate for the first occurrence of the term in an article.
Example:
- {{US$|10|1935|link=yes}} → US$10 ($188.76 in 2024)
See also
সম্পাদনা কৰক The above documentation is transcluded from সাঁচ:US$/doc. (edit | history) Editors can experiment in this template's sandbox (create | mirror) and testcases (create) pages. Please add categories and interwikis to the /doc subpage. Subpages of this template. |