diff options
-rw-r--r-- | glucometerutils/common.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/glucometerutils/common.py b/glucometerutils/common.py index de5d293..2760ce8 100644 --- a/glucometerutils/common.py +++ b/glucometerutils/common.py @@ -51,7 +51,7 @@ def convert_glucose_unit(value: float, from_unit: Unit, to_unit: Unit) -> float: if from_unit == Unit.MG_DL: return round(value / 18.0, 2) - return round(value * 18.0, 0) + return round(value * 18.0, 1) @attr.s(auto_attribs=True) |