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

v1.0.0 content of range select lists displays numbers with many decimal places for certain interval values #6

Closed
itsozz opened this issue May 29, 2019 · 1 comment
Assignees

Comments

@itsozz
Copy link
Contributor

itsozz commented May 29, 2019

Example: distance in km with a minimum of 0.1, maximum of 1 and an interval of 0.1 produces the following:

0.1 km
0.2 km
0.30000000000000004 km
0.4 km
0.5 km
0.6 km
0.7 km
0.7999999999999999 km
0.8999999999999999 km
0.9999999999999999 km

The reason this happens is outlined on https://floating-point-gui.de/

@itsozz itsozz self-assigned this May 29, 2019
itsozz added a commit that referenced this issue May 30, 2019
…h many decimal places for certain interval values.
@itsozz
Copy link
Contributor Author

itsozz commented May 30, 2019

Fixed in release v1.0.1

@itsozz itsozz closed this as completed May 30, 2019
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