Closed aegluke closed 9 months ago
I'll try your solution. I made a mistake in testing ;)
I don't use GrandTotal myself, so my calculation was just based on my own assumptions. And I always use 15min time rounding and better roundable hourly rates, to avoid rounding issues.
And my proposed changes are actually only code style. There is/should be no logic change.
Are you done testing?
I'm done with testing
Thanks @aegluke 👍
Grandtotal doesn't import the hourly rate - only the cost and the minute. The hourly rate is calculated - this runs in rounding problems for rates not based on 60. This fix produces rates with higher precision if the calculated hourly rate contains more then 2 decimal places.