Module talk:Exchangerate/testcases
- EUR in USD: 1.0772 (2024-11-08)
- EUR in AUD: 1.6259 (2024-11-08)
- EUR in EGP: 32.479 (2023-02-23)
- EGP in ILS: 0.117905 (2023-02-23)
- EUR in foo: rate not found ( rate not found)
Convert:
- 10 EUR in USD: "11"
- 5 EUR in USD: "5.4"
- 10 USD in EUR: "9.3"
- 5 USD in EUR: "4.6"
- 4.77 USD in EUR: "4.428"
- 123456.789 USD in EUR: "114608.976"
- 10 FOO in BAR: " rate not found"
Range input:
{{#invoke:Exchangerate |convertSingelOrRange |source=USD |target=EUR |amounts=30-40}}
gives "28–37"{{#invoke:Exchangerate |convertSingelOrRange |source=EGP |target=EUR |amounts=33,000-45,000}}
gives "1020–1390"{{#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.