There is a rounding error fix in SqlDecimal roun

http://support.microsoft.com/default.aspx?scid=kb;en-us;83942

but I found this to be an error as well, can someone confirm this and is there a fix for it

tr

decimal Result = 0m
decimal rate = 0.155m
for(int i = 0; i < 31; i++)

Result += System.Data.SqlTypes.SqlDecimal.Round(((rate /365m) * 6018.2m), 4).Value;


Result = System.Data.SqlTypes.SqlDecimal.Round(Result, 2).Value

catch (Exception ex

Console.WriteLine(ex.Message)