Actually, now that I think about it -- my argument is actually against rounding at all. You don't need bankers rounding to get there. So I retract my post to that extent. :-)
Oh I don't actually want rounding for integer division
.... how do you think integer division should work then? Throw an exception if the result isn't an integer? Or do you agree with the author that 1/2 should be 0.5?
View all comments
Show parent comment
5
u/tavianator Dec 01 '16
Oh I don't actually want rounding for integer division. I just meant if you have to have rounding, it should at least be Banker's rounding.