This question shows research effort; it is useful and clear
8
This question does not show any research effort; it is unclear or not useful
Bookmark this question.
Show activity on this post.
Math.Round(8.075, 2, MidpointRounding.AwayFromZero) returns 8.07, though it should return 8.08. Mysteriously enough, 7.075 is working fine, but 9.075 also returns 9.07!
What to do? Does anybody know a rounding method without such bugs?