nightscout / Trio

MIT License
45 stars 125 forks source link

Eventual BG for mmol/L is presented with irrelevant precision (2 decimal places) #319

Closed bjornoleh closed 1 hour ago

bjornoleh commented 2 weeks ago

Describe the bug

Eventual BG for mmol/L is presented with irrelevant precision (2 decimal places). The eventual BG estimate is highly uncertain, and presenting this value at such an apparent level of precision might give the wrong idea about the nature of this estimate.

Expected behavior

Eventual BG for mmol/L should at most be presented with a single decimal digit.

Screenshots

App and watch in Xcode iOS simulator showing eventual BG of 13,76 mmol/L: image

For mg/dL, the eventual BG value is presented as integer values, which is fine (+/- 1 mg/dL = +/- 0,06 mmol/L, or approximately +/- 0,1 mmol/L)

Trio Version: