python-ballpark icon indicating copy to clipboard operation
python-ballpark copied to clipboard

consistent rounding

Open debrouwere opened this issue 6 years ago • 0 comments

When rounding, optionally ensure that sum(round(values)) == round(sum(values)) by rounding some numbers in the opposite direction than the one dictated by convention. The rounding error should be minimized, e.g. prefer rounding down 42.5 over 42.9.

debrouwere avatar Apr 12 '18 08:04 debrouwere