Skip to content

Display of mmol/L units  #159

@beached

Description

@beached

It looks like Loop is trying to display too many digits for mmol/L. Only 3 are ever needed at most. Actually , when the pump reports a bg <=99mg/dl only 2 are needed( so <=5.5mmol/L) but for consistency 3 is usually fine.

As one can see, this causes formatting bugs
bg display

Seeing as the data from the pump expresses the info in mg/dl and generally has 3 significant digits this could be accomplished with a formatting flag of %.1f

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions