Template:JPY/doc: Difference between revisions
From MiiWiki
Jump to navigationJump to search
(Created page with "==Usage== This template converts Japanese Yen (JPY) into US Dollars (USD). Simply enter <code><nowiki>{{JPY|amount of yen}}</nowiki></code> and it will be converted. This template is useful for estimating how much a Japanese product costs, as exchange rates can change noticeably. ==Notes== *The amount is rounded to the nearest cent. *Cents will not show if the amount rounds to an exact dollar. *If a second parameter is added, the number will be displayed unrounded. **Th...") |
(No difference)
|
Revision as of 17:24, 15 December 2022
Usage
This template converts Japanese Yen (JPY) into US Dollars (USD). Simply enter {{JPY|amount of yen}}
and it will be converted. This template is useful for estimating how much a Japanese product costs, as exchange rates can change noticeably.
Notes
- The amount is rounded to the nearest cent.
- Cents will not show if the amount rounds to an exact dollar.
- If a second parameter is added, the number will be displayed unrounded.
- This is not recommended, as the exchange rate constant is only updated every so often, therefore the template can only stay so accurate.
- The exchange rate is based on the constant located here. The number is sourced from Xe.com, and should be updated at least monthly.