BigDecimal rounding standards on currency
Howdy everybody! I have been using BigDecimal for a few functions run on currency. I have used it for every intermediate operation and now need to display the final product. What is the standard for rounding? I get that it should be an easy round to 2 decimals for USD, but is the rounding strategy generally to truncate, always round up, or round even?
I have tried finding an answer online and there doesn't seem to be a legal standard or anything like that, but I would assume there is with taxes right? All input is appreciated!
I have tried finding an answer online and there doesn't seem to be a legal standard or anything like that, but I would assume there is with taxes right? All input is appreciated!