Module talk:Exchangerate/testcases
Add topicAppearance
- EUR in USD: 1.1612 (2025-10-24)
- EUR in AUD: 1.7862 (2025-10-24)
- EUR in EGP: 51.613 (2023-02-23)
- EGP in ILS: 0.0741959 (2023-02-23)
- EUR in foo: rate not found (rate not found)
Convert:
- 10 EUR in USD: "12"
- 5 EUR in USD: "5.8"
- 10 USD in EUR: "8.6"
- 5 USD in EUR: "4.3"
- 4.77 USD in EUR: "4.108"
- 123456.789 USD in EUR: "106318.2819"
- 10 FOO in BAR: "rate not found"
Range input:
{{#invoke:Exchangerate |convertSingelOrRange |source=USD |target=EUR |amounts=30-40}}gives "26–34"{{#invoke:Exchangerate |convertSingelOrRange |source=EGP |target=EUR |amounts=33,000-45,000}}gives "639–872"{{#invoke:Exchangerate |convertSingelOrRange |source=FOO |target=EUR |amounts=30-40}}gives ""
currencyWithConversions:
{{#invoke:Exchangerate |currencyWithConversions |currency=USD |amount=30-40}}gives "$30-40"{{#invoke:Exchangerate |currencyWithConversions |currency=USD |amount=}}gives "$1"{{#invoke:Exchangerate |currencyWithConversions |currency=USD}}gives "$1"{{#invoke:Exchangerate |currencyWithConversions |currency=FOO |amount=30-40}}gives "FOO30-40"
Start a discussion about Module:Exchangerate/testcases
Talk pages are where people discuss how to make content on Wikivoyage the best that it can be. You can use this page to start a discussion with others about how to improve Module:Exchangerate/testcases.