Always round up! (or: ceiling)
Summary
As a Cloud Meter customer, I want to see all hours calculations rounded up to the nearest integer because that it how I expect to be billed.
Currently, we appear to be using bankers rounding (or flooring) but instead we should be using the ceiling.
Acceptance Criteria
-
Verify that the total hours displayed alongside the graphs round up. -
Verify that the hours displayed in the graph tooltips round up. -
Verify that the hours displayed in the image usage list round up.
Assumptions and Questions
- If I have missed any hours places in the UI in the above AC, please include them too. :)
- The above numbers are rounded in isolation. This means, for example, if you have 7 days each running for 29 minutes, each of those days on the graph would show 1 hour, and the cumulative total would be 4.
Edited by Calvin Spealman