Skip to content

Commit

Permalink
No more BG codes
Browse files Browse the repository at this point in the history
  • Loading branch information
Navid200 committed Aug 19, 2024
1 parent f96d4e5 commit 4ca98bc
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 44 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -2190,29 +2190,8 @@ public static String unitized_string(double value, boolean doMgdl) {
df.setMinimumFractionDigits(1);
return df.format(mmolConvert(value));
}
} else if (value > 12) {
return "LOW";
} else {
switch ((int) value) {
case 0:
return "??0";
case 1:
return "?SN";
case 2:
return "??2";
case 3:
return "?NA";
case 5:
return "?NC";
case 6:
return "?CD";
case 9:
return "?AD";
case 12:
return "?RF";
default:
return "???";
}
return "LOW";
}
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -73,29 +73,8 @@ public static String unitized_string(double value, boolean doMgdl) {
df.setMinimumFractionDigits(1);
return df.format(mmolConvert(value));
}
} else if (value > 12) {
return "LOW";
} else {
switch ((int) value) {
case 0:
return "??0";
case 1:
return "?SN";
case 2:
return "??2";
case 3:
return "?NA";
case 5:
return "?NC";
case 6:
return "?CD";
case 9:
return "?AD";
case 12:
return "?RF";
default:
return "???";
}
return "LOW";
}
}

Expand Down

0 comments on commit 4ca98bc

Please sign in to comment.