Converting string to decimal seems to be a familiar question. But in my case the an error is throwing while I tried to convert a string value "10.00000000000" to decimal. I tried following codes
Decimal a = Convert.Todecimal("10.0000000000000000") ; decimal a = decimal.Parse("10.0000000000000000");
I think the problem is with the "zeros"(10.0000000000000000). Can any one knows why this produce an exception. I forget the error. But I will let you know that by tomorrow.
Can any one help.. please.