One of the outputs generated by the gross up formula is the remainder. We noticed that we missed a few eurocents in costing, due to these remainders.
First we set the "to within" input value to 1 eurocent, but gross up still was coming up with a few remainders of one cent.
And we could not decrease the value of "to within", since the unit of measure was money.
So we changed the unit of measure to Number, filled 0.009 as the "to within" tollerance, and grossup did a perfect job, leaving 0 as remainder. We still have to see if this perfect job has no performance consequences.
We opted not to create an additional element to store the remainder, and cost it.