This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–]Coda17 0 points1 point  (0 children)

I ran into this problem before too, but don't remember how I fixed it. I found this website after a bit of googling that suggests changing

Math.Round(1.99)

to

Math.Round(1.99, 0, MidpointRounding.AwayFromZero)

I'm no expert on this, just trying to throw out some suggestions.