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

Parsing error on integers #44

Closed
Fabi755 opened this issue Nov 21, 2022 · 0 comments · Fixed by #45
Closed

Parsing error on integers #44

Fabi755 opened this issue Nov 21, 2022 · 0 comments · Fixed by #45
Assignees
Labels
bug Something isn't working

Comments

@Fabi755
Copy link
Member

Fabi755 commented Nov 21, 2022

When a gas station has a round integer number (like 3.000€) the API response them as integer (ex: 3) instead of double (ex: 3.0).

This cause in current versions (1.0.0 - 1.2.0) a parsing exception and no station markers are displayed on the map.

@Fabi755 Fabi755 added the bug Something isn't working label Nov 21, 2022
@Fabi755 Fabi755 self-assigned this Nov 21, 2022
Fabi755 added a commit that referenced this issue Nov 21, 2022
…s-double

Force parsing prices as double (#44)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant