Forum Discussion

Kish27's avatar
Kish27
Copper Contributor
Mar 09, 2021
Solved

Rounding of partial percentage of a workday

Hi   I am using MS Project Pro. I observer something strange happening to my project plan maybe somebody can help explain what is happening: I have task called "Status Report" which is allocated...
  • John-project's avatar
    Mar 09, 2021

    Kish27 

    Your example is not clear. For example, you say the status report is a 1hr task but then you assign James to the task at 12.5%. That means he has a work content of .125 hours, not 1 hour. Is that your intent? If so, is the task type then fixed duration?

     

    How exactly did you enter the assignments for James (i.e. what view field or form)?

     

    Why are you bouncing the resource's assignment back and forth between 12.5% and 10%?

     

    Something else that you should realize is that the resource rate is not $50/hr when the work is less than an hour, it is really .83333333 cents per minute. When the 12.5% assignment is initially entered it goes in as 7.5 minutes giving a cost of $6.4999999. And when the assignment is changed to 10%, the cost ends up being $4.99999. Somewhere in all those calculations round-off errors will accumulate and that is essentially what happens when the assignment goes back to 12.5%, it is no longer processed as 7.5 minutes but is rounded to 8 minutes and hence the cost ends up $6.67 instead of $6.25. Can you force the calculation back to 7.5 minutes? Yes. You can delete the resource and re-enter the original values or you can open the Visual Basic Editor window in Immediate and enter this line of code

    activeproject.Tasks(1).Resources(1).assignments(1).Work=7.5

    John

Resources