Skip to content
This repository has been archived by the owner on Feb 14, 2022. It is now read-only.

Speed numbers, such as "0.2", will be drawn(on speed dial) and displayed(on speed number) as "2", omitting "0." part #20

Closed
ggoraa opened this issue Apr 28, 2021 · 0 comments · Fixed by #21
Assignees
Labels
bug Something isn't working
Milestone

Comments

@ggoraa
Copy link
Contributor

ggoraa commented Apr 28, 2021

It's the issue with conversion from Number to Float and in reverse. I should track down where this issue lies

And, also a solution: we need to return from the app server endpoint the speed number, but in String format. So, it will be displayed as a String, ommitting issues such as displaying "0.20000" instead of just "0.2", and for speed dial this string will be converted to float, and then we will get our result: dial data will be more accurate, and we will have a speed number like "7.4" before 10 km/h (or for you fellow Americans mph)

@ggoraa ggoraa added the bug Something isn't working label Apr 28, 2021
@ggoraa ggoraa self-assigned this Apr 28, 2021
@ggoraa ggoraa added this to the 1.0.0 Stable milestone Apr 29, 2021
@ggoraa ggoraa linked a pull request Apr 29, 2021 that will close this issue
ggoraa added a commit that referenced this issue Apr 29, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant