From cd25e6f415f8d622f31ed0e268a46ec9ccc2611c Mon Sep 17 00:00:00 2001 From: Mike Plante Date: Sun, 25 Aug 2024 15:48:22 -0400 Subject: [PATCH] glucose rounding fix --- FreeAPS/Sources/Modules/DataTable/View/DataTableRootView.swift | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/FreeAPS/Sources/Modules/DataTable/View/DataTableRootView.swift b/FreeAPS/Sources/Modules/DataTable/View/DataTableRootView.swift index e57cc3633..09cfd99d8 100644 --- a/FreeAPS/Sources/Modules/DataTable/View/DataTableRootView.swift +++ b/FreeAPS/Sources/Modules/DataTable/View/DataTableRootView.swift @@ -45,7 +45,7 @@ extension DataTable { formatter.minimumFractionDigits = 0 formatter.maximumFractionDigits = 1 } - formatter.roundingMode = .down + formatter.roundingMode = .halfUp return formatter }