Skip to content

Commit

Permalink
Increase decimal places shown during mgDl to mmol display, part of ov…
Browse files Browse the repository at this point in the history
…erall fix for #423
  • Loading branch information
Chris Walters committed Jul 19, 2018
1 parent abae985 commit 3835b82
Showing 1 changed file with 1 addition and 1 deletion.
Expand Up @@ -44,7 +44,7 @@ public static double glucoseToMgDl(double mmolL) {
}

public static double glucoseToMmolL(double mgDl) {
return round(mgDl / MG_DL_TO_MMOL_CONSTANT, 1);
return round(mgDl / MG_DL_TO_MMOL_CONSTANT, 2);
}

public static double glucoseToA1C(double mgDl) {
Expand Down

0 comments on commit 3835b82

Please sign in to comment.