javascript
fx.base = "USD";
fx.rates = {
"EUR" : 0.9499, // eg. 1 USD === 0.9499 EUR
"GBP" : 0.8143,
"CNY" : 6.9176,
"HKD" : 7.7554,
"JPY" : 116.91,
"KRW" : 1201,
"USD" : 1, // always include the base rate (1:1)
/* etc */
}
HTML
I would like to list the values of these currencies
For example, the default is 100USD, the value listed in other currencies
javascript
fx.base = "USD";
fx.rates = {
"EUR" : 0.9499, // eg. 1 USD === 0.9499 EUR
"GBP" : 0.8143,
"CNY" : 6.9176,
"HKD" : 7.7554,
"JPY" : 116.91,
"KRW" : 1201,
"USD" : 1, // always include the base rate (1:1)
/* etc */
}
HTML
I would like to list the values of these currencies
For example, the default is 100USD, the value listed in other currencies