Template:JPY/doc

From MiiWiki
< Template:JPY
Revision as of 17:26, 15 December 2022 by Kirb (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigationJump to search

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.