Adjust total and total max to integers - for proper meter max display in Safari