diff --git a/core/src/main/java/info/nightscout/androidaps/db/TemporaryBasal.java b/core/src/main/java/info/nightscout/androidaps/db/TemporaryBasal.java index d4f89fdd7e..660ec0ad0a 100644 --- a/core/src/main/java/info/nightscout/androidaps/db/TemporaryBasal.java +++ b/core/src/main/java/info/nightscout/androidaps/db/TemporaryBasal.java @@ -395,7 +395,7 @@ public class TemporaryBasal implements Interval, DbObjectBase { if (isFakeExtended) { return (int) ((profile.getBasal(time) + netExtendedRate) / profile.getBasal(time)) * 100; } else if (isAbsolute) { - return (int) (absoluteRate / profile.getBasal(time)) * 100; + return (int) (absoluteRate / profile.getBasal(time) * 100); } else { return percentRate; }