Re: [Planner Dev] Cost Calculation Fix
- From: Kurt Maute <kurt maute us>
- To: Planner Project Manager - Development List <planner-dev lists imendio com>
- Subject: Re: [Planner Dev] Cost Calculation Fix
- Date: Wed, 30 Nov 2005 20:31:35 -0500
On Tue, 2005-11-29 at 22:23 -0600, ZAXIOM Solutions LLC wrote:
> Dev Team:
>
> We have developed a fix for an issue with version 0.13 we discovered.
> The task cost calculation is incorrect. The error of the cost is
> introduced by the integer representation of the units. For example, a
> fixed duration task with 1 day of work and 8 days duration assigned to
> a single resource results in a unit percentage of 13 instead of 12.5.
> Therefore, the resulting cost of the task is 416 instead of 400 when
> using a resource cost of 50; this reflects the difference between
> 12.5% * 8 days * 8 hours * $50 and 13% * 8 days * 8 hours *$50.
>
> To fix this, we converted units to a gfloat instead of a gint. We have
> tested our solution, and all seems to be well. We would like to
> contribute our changes to the project. Who do we need to get the
> updated files to?
Sounds great! Send a patch file to this list and I'll have a look.
tnx!
--
Kurt Maute <kurt maute us>
[Date Prev][
Date Next] [Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]