OSDN Git Service

Attempt to contain rounding errors.
[tjqt4port/tj2qt4.git] / taskjuggler / Project.h
index 45ff769..00eba5b 100644 (file)
@@ -756,6 +756,11 @@ public:
     double convertToDailyLoad(long secs) const;
 
     /**
+     * Adjust load for rounding errors.
+     */
+    double quantizeLoad(double load) const;
+
+    /**
      * Converts load values (effort) to time slots.
      */
     long int convertToSlots(double effort) const;