We have a client that is sending us files where amounts are in different records like this:
clientID, productID, amount
123,1,24.00
123,2,28.00
123,3,29.00
We then take these three records and turn them into one record
ClientID, product1Amt, product2Amt, product3Amt
123,24.00, 28.00, 29.00
The dev before me, did this by using the aggregate transform. The problem is, the transform is somehow adding magic numbers that didn't exist before. Amounts will go in looking like this:
3333.33
and come out of the transform looking like this
3333.330078125
The column comes off a flat file as a float. The destination table column is of datatype money. When it hits the table, it turns it into:
3333.3301
In some cases I've seen it turned into:
3333.3299.
Neither is acceptable but I don't know how to control it. Any suggestions?