Skip to content

Commit 4f2650a

Browse files
committed
Improvements added to currency converter
1 parent 675b1b9 commit 4f2650a

1 file changed

Lines changed: 17 additions & 0 deletions

File tree

05-currency-converter/README.md

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -35,3 +35,20 @@ rateTo := data.Rates[currencyTo]
3535

3636
converted := amount * (rateTo / rateFrom)
3737
```
38+
39+
### Supported Currencies
40+
41+
For the initial implementation, it may make sense to support a few currencies at first.
42+
43+
In my case, I supported only
44+
45+
- USD
46+
- EUR
47+
- GBP
48+
- JPY
49+
50+
## Improvements
51+
52+
### More currency support
53+
54+
The API you're using should provide a list of currencies they support. One improvement would be to use this list in order to define the supported currencies of your app. You'll want to consider how to make this a good UX however.

0 commit comments

Comments
 (0)