what is the output of the following statements :
Console.WriteLine(decimal.Round(Convert.ToDecimal("0.05"), 1)); --0.0--
Console.WriteLine(decimal.Round(Convert.ToDecimal("0.15"), 1)); --0.2--
Inference:
5 at 2nd decimal place is rounded to 1 if first decimal places is non-zero else zero
Why?
How are decimal maintained by .net