I have code:
Math.Round(45.4545m, 2, MidpointRounding.AwayFromZero)
It result is 45.45
. Looks like it should be 45.46
with MidpointRounding.AwayFromZero
. What I am doing wrong?
45.46
instead of 45.45
with MidpointRounding.AwayFromZero
I have code:
Math.Round(45.4545m, 2, MidpointRounding.AwayFromZero)
It result is 45.45
. Looks like it should be 45.46
with MidpointRounding.AwayFromZero
. What I am doing wrong?
45.46
instead of 45.45
with MidpointRounding.AwayFromZero