HF RL Explorer

currency exchange: config change

currency exchange: config change: a task in smol-software-harbor (Harbor dataset). Two changes for the exchange module: add Swiss francs to config/rates.json ( "CHF": 0.97 ), and make Exchange convert in lib/exchange.rb round to the number of decimals given by the "precision" key of the config…

The task

Two changes for the exchange module: add Swiss francs to `config/rates.json` (`"CHF": 0.97`), and make `Exchange#convert` in `lib/exchange.rb` round to the number of decimals given by the `"precision"` key of the config instead of the hard-coded 2; then set `"precision"` to 3 in the config. Update the test…

Part of efederici/smol-software-harbor.