I used Math.Round
like Math.Round(value, precision)
. The precision is 3.
when I used for value = 0.0015 the result will be 0.002
when I used for value = 0.0025 the result still be 0.002
It seems like when the last digit is even number it will round down but it will round up when the last digit is an odd number.
How to solve this problem?
Additional: In silverlight, there is no MidpointRounding