one more ICF with 1 decimal

This commit is contained in:
Milos Kozak 2016-12-06 23:03:45 +01:00
parent 86755599df
commit 3a3fc5d508

View file

@ -368,7 +368,7 @@ public class WizardDialog extends DialogFragment implements OnClickListener {
BolusWizard wizard = new BolusWizard();
wizard.doCalc(specificProfile, carbsAfterConstraint, c_bg, corrAfterConstraint, bolusIobCheckbox.isChecked(), basalIobCheckbox.isChecked());
bg.setText(c_bg + " ISF: " + DecimalFormatter.to0Decimal(wizard.sens));
bg.setText(c_bg + " ISF: " + DecimalFormatter.to1Decimal(wizard.sens));
bgInsulin.setText(DecimalFormatter.to2Decimal(wizard.insulinFromBG) + "U");
carbs.setText(DecimalFormatter.to0Decimal(c_carbs) + "g IC: " + DecimalFormatter.to1Decimal(wizard.ic));