commit
635c64210f
1 changed files with 1 additions and 1 deletions
|
@ -98,7 +98,7 @@ public class Autosens {
|
||||||
// avgDelta = avgDelta.toFixed(2);
|
// avgDelta = avgDelta.toFixed(2);
|
||||||
IobTotal iob = IobTotal.calulateFromTreatmentsAndTemps(bgTime);
|
IobTotal iob = IobTotal.calulateFromTreatmentsAndTemps(bgTime);
|
||||||
|
|
||||||
double bgi = Math.round((-iob.activity * sens * 5) * 100) / 100;
|
double bgi = Math.round((-iob.activity * sens * 5) * 100) / 100d;
|
||||||
// bgi = bgi.toFixed(2);
|
// bgi = bgi.toFixed(2);
|
||||||
//console.error(delta);
|
//console.error(delta);
|
||||||
double deviation = delta - bgi;
|
double deviation = delta - bgi;
|
||||||
|
|
Loading…
Reference in a new issue