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

Wrong temperature shown when rounding figures #289

Open
2 tasks done
ghost opened this issue Nov 30, 2021 · 1 comment
Open
2 tasks done

Wrong temperature shown when rounding figures #289

ghost opened this issue Nov 30, 2021 · 1 comment
Labels
bug Something isn't working

Comments

@ghost
Copy link

ghost commented Nov 30, 2021

Checklist:

  • I updated to the latest version available
  • I cleared the cache of my browser

Release with the issue:
0.0.5

Last working release (if known):

Browser and Operating System:
Firefox / Chrome (Windows 11)
Firefox Mobile (Android 10)

Description of problem:
When a temperature sensor with two decimal values, the values are rounded to a one decimal value.
If the sensor reports values above .95 (e.g. 18.96 °C) the card shows is as 18.10 instead of 19.0.

thermo

@ghost ghost added the bug Something isn't working label Nov 30, 2021
@Seaniau
Copy link

Seaniau commented Dec 20, 2022

Ah jeez, this is still an issue.
It's not limited to two decimal places either; 18.9 is rounded to 18.5 and 19.1 is rounded to 19.5.

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

No branches or pull requests

1 participant