I've pushed a pgtap test which demonstrates the problem:
http://git.evergreen-ils.org/?p=working/Evergreen.git;a=shortlog;h=refs/heads/user/berick/lp800478-acq-fund-transfer-wrong-amounts
The scripts uses large, round numbers and still fails, so I don't believe this is a rounding problem. I think it's simply a logic error in the transfer code.
Will poke further.
I've pushed a pgtap test which demonstrates the problem:
http:// git.evergreen- ils.org/ ?p=working/ Evergreen. git;a=shortlog; h=refs/ heads/user/ berick/ lp800478- acq-fund- transfer- wrong-amounts
The scripts uses large, round numbers and still fails, so I don't believe this is a rounding problem. I think it's simply a logic error in the transfer code.
Will poke further.