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

3.89 turns into 3.8 when number is displayed and animation is finished #15

Open
N-ihad opened this issue Jul 25, 2022 · 1 comment
Open

Comments

@N-ihad
Copy link
Contributor

N-ihad commented Jul 25, 2022

Seems like there's an issue when decimalPlaces = 2 (and I think in general regardless of decimalPlaces) 3.89 (or any number ending with 9 after decimal) turns into 3.8 (cutting off or perhaps rounding the last digit?) when calling method func setValue(_ value: Float, animated: Bool = true).

OR when number is 3.199 and decimal places is 3, resulting in displaying 3.1 9, middle number after decimal just disappeared

@N-ihad
Copy link
Contributor Author

N-ihad commented Jul 25, 2022

seems like when setValue is called and hasn't been finished yet, and there's another new call to setValue, it results in such behaviour

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