Jon Fawcett пре 6 година
родитељ
комит
79b3c5acef
1 измењених фајлова са 2 додато и 2 уклоњено
  1. 2 2
      LoopFollow/Controllers/NightScout.swift

+ 2 - 2
LoopFollow/Controllers/NightScout.swift

@@ -346,8 +346,8 @@ extension MainViewController {
                         }
                     }
                     if let iobdata = lastLoopRecord["iob"] as? [String:AnyObject] {
-                        tableData[0].value = String(format:"%.1f", (iobdata["iob"] as! Double))
-                        latestIOB = String(format:"%.1f", (iobdata["iob"] as! Double))
+                        tableData[0].value = String(format:"%.2f", (iobdata["iob"] as! Double))
+                        latestIOB = String(format:"%.2f", (iobdata["iob"] as! Double))
                     }
                     if let cobdata = lastLoopRecord["cob"] as? [String:AnyObject] {
                         tableData[1].value = String(format:"%.0f", cobdata["cob"] as! Double)