Convert string value into decimal.
string strNewRefundAmt = "$54";
decimal curNewRefundAmt = 0;
if I do
curNewRefundAmt = Convert.ToDecimal(strNewRe
fundAmt))
i get an exception saying "Input not valid" . I have tried Convert.ToInt32,Convert.To
Double and I get the same error. What should I do so that
curNewRefundAmt = 57
comes up.
Thank You
Start Free Trial