Skip to content

Commit

Permalink
rounding for response
Browse files Browse the repository at this point in the history
  • Loading branch information
frogermcs committed Dec 19, 2017
1 parent 621a1e5 commit fac8529
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion functions/water-log.js
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ class WaterLog {
loggedMililiters += waterLog.val().mililiters;
}
});
return loggedMililiters;
return math.round(loggedMililiters);
});
});
}
Expand Down

0 comments on commit fac8529

Please sign in to comment.