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

Arc Progress Crash On Persian Language Apps #147

Open
sdarvish opened this issue Aug 18, 2021 · 0 comments
Open

Arc Progress Crash On Persian Language Apps #147

sdarvish opened this issue Aug 18, 2021 · 0 comments

Comments

@sdarvish
Copy link
Contributor

sdarvish commented Aug 18, 2021

When use arc progress in Persian language apps when use decimal formatter change number character and its make crash

Caused by: java.lang.NumberFormatException: For input string: "۷۰"
at sun.misc.FloatingDecimal.readJavaFormatString(FloatingDecimal.java:2043)
at sun.misc.FloatingDecimal.parseFloat(FloatingDecimal.java:122)
at java.lang.Float.parseFloat(Float.java:451)
at com.github.lzyzsd.circleprogress.ArcProgress.setProgress(ArcProgress.java:191)
at com.github.lzyzsd.circleprogress.ArcProgress.initByAttributes(ArcProgress.java:112)
at com.github.lzyzsd.circleprogress.ArcProgress.(ArcProgress.java:99)
at com.github.lzyzsd.circleprogress.ArcProgress.(ArcProgress.java:83)
... 61 more

sdarvish added a commit to sdarvish/CircleProgress that referenced this issue Aug 18, 2021
sdarvish added a commit to sdarvish/CircleProgress that referenced this issue Aug 18, 2021
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