diff --git a/app/src/main/java/info/nightscout/androidaps/plugins/PumpDanaRKorean/Services/ExecutionService.java b/app/src/main/java/info/nightscout/androidaps/plugins/PumpDanaRKorean/Services/ExecutionService.java index 83cae228f0..fff5a84eb3 100644 --- a/app/src/main/java/info/nightscout/androidaps/plugins/PumpDanaRKorean/Services/ExecutionService.java +++ b/app/src/main/java/info/nightscout/androidaps/plugins/PumpDanaRKorean/Services/ExecutionService.java @@ -507,7 +507,7 @@ public class ExecutionService extends Service { private double[] buildDanaRProfileRecord(NSProfile nsProfile) { double[] record = new double[24]; for (Integer hour = 0; hour < 24; hour++) { - double value = nsProfile.getBasal(hour * 60 * 60); + double value = Math.round(100d * nsProfile.getBasal(hour * 60 * 60))/100d + 0.00001; if (Config.logDanaMessageDetail) log.debug("NS basal value for " + hour + ":00 is " + value); record[hour] = value;