Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- // IF:
- const conv = [1,0.511,0.0314];
- const currencyId = 1;
- const baseCurrency = 1;
- const result = conv[currencyId] / baseCurrency;
- console.log(result);
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement