daily pastebin goal
5%
SHARE
TWEET

Untitled

a guest Dec 13th, 2018 59 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. // IF:
  2. const conv = [1,0.511,0.0314];
  3. const currencyId = 1;
  4. const baseCurrency = 1;
  5.  
  6. const result = conv[currencyId] / baseCurrency;
  7.  
  8. console.log(result);
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top