diff --git a/app/src/main/assets/OpenAPSAMA/determine-basal.js b/app/src/main/assets/OpenAPSAMA/determine-basal.js index 089915685e..8202e7c74b 100644 --- a/app/src/main/assets/OpenAPSAMA/determine-basal.js +++ b/app/src/main/assets/OpenAPSAMA/determine-basal.js @@ -470,7 +470,7 @@ var determine_basal = function determine_basal(glucose_status, currenttemp, iob_ var maxSafeBasal = tempBasalFunctions.getMaxSafeBasal(profile); if (rate > maxSafeBasal) { - rT.reason += "adj. req. rate: "+rate+" to maxSafeBasal: "+maxSafeBasal+", "; + rT.reason += "adj. req. rate: "+round(rate, 2)+" to maxSafeBasal: "+maxSafeBasal+", "; rate = round_basal(maxSafeBasal, profile); } diff --git a/app/src/main/assets/OpenAPSSMB/determine-basal.js b/app/src/main/assets/OpenAPSSMB/determine-basal.js index 137ceca541..64cde918c5 100644 --- a/app/src/main/assets/OpenAPSSMB/determine-basal.js +++ b/app/src/main/assets/OpenAPSSMB/determine-basal.js @@ -1137,7 +1137,7 @@ var determine_basal = function determine_basal(glucose_status, currenttemp, iob_ var maxSafeBasal = tempBasalFunctions.getMaxSafeBasal(profile); if (rate > maxSafeBasal) { - rT.reason += "adj. req. rate: "+rate+" to maxSafeBasal: "+maxSafeBasal+", "; + rT.reason += "adj. req. rate: "+round(rate, 2)+" to maxSafeBasal: "+maxSafeBasal+", "; rate = round_basal(maxSafeBasal, profile); }