Increased accuracy from int to double. Now supports decimal hours (eg
1.5 hours)