Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

This library is how to use in the end, did not understand #32

Open
t3rryhe opened this issue Jan 8, 2017 · 0 comments
Open

This library is how to use in the end, did not understand #32

t3rryhe opened this issue Jan 8, 2017 · 0 comments

Comments

@t3rryhe
Copy link

t3rryhe commented Jan 8, 2017

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant