Browse Source

Add feature to change currency to GBP

remotes/origin/feature/currency-exchange
Shivam Chaudhary 2 years ago
parent
commit
7f7ab6195b
  1. 7
      src/currencyExchange.c

7
src/currencyExchange.c

@ -6,3 +6,10 @@ float toUSD(float euro) {
return USD;
}
float toGBP(float euro) {
float GBP = euro * CURRENT_GBP_RATE_OF_ONE_EURO;
return GBP;
}
Loading…
Cancel
Save