S
Samuel
Hi
I make the following calculation 1119.8*0.175 and I assign it to a double
then I round it using the Math.Round(Val,2) method and I get 195.96 instead
of 195.67 as I think it should be and the reason is due to the fact that the
value is the double variable before rounding is 195.96499999999997
Is it inaccuracy of the Double or this is the true result?
Can anyone suggest what can be done if it is the double which is inaccurate
Thank you,
Samuel
I make the following calculation 1119.8*0.175 and I assign it to a double
then I round it using the Math.Round(Val,2) method and I get 195.96 instead
of 195.67 as I think it should be and the reason is due to the fact that the
value is the double variable before rounding is 195.96499999999997
Is it inaccuracy of the Double or this is the true result?
Can anyone suggest what can be done if it is the double which is inaccurate
Thank you,
Samuel