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

Need help with adding support for a prefix #42

Closed
saket opened this issue Jan 23, 2017 · 1 comment
Closed

Need help with adding support for a prefix #42

saket opened this issue Jan 23, 2017 · 1 comment

Comments

@saket
Copy link

saket commented Jan 23, 2017

Hey folks, I'm trying to understand how does TickerUtils.getDefaultListForUSCurrency() work, but I'm unable to wrap my head around it. To be more specific, how does it ignore the dollar character? The only thing I've been able to figure out so far is that it probably has something to do with line numbers 38 and 39.

I'd like to use the rupee symbol (₹, \u20b9). Can you please help me out here?

@saket
Copy link
Author

saket commented Jan 23, 2017

Update: Just realized how easy adding new characters is. Simply creating a new char array that also includes the rupee symbol solved the problem. I was assuming this to be much more complex.

@saket saket closed this as completed Jan 23, 2017
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