I have the following problem. When I try to round a number from a "double" type, it doesn't work as I expect it.
Consider the following code:
double d = 0.00498;
Console.WriteLine(Math.Round(d, 2)); // prints 0
The result that i am getting is wrong.
The program must print 0.01, and I have tried everything and nothing worked properly.