I have some strings in my selection set. I want to convert those to Double and I need to eliminate which is having any letter as a character(A to Z) or anything not possible to convert as double.
the below code is working if the vale is like "564.10" this, and it's getting error if the value like "abvd" or "@#$%dfd".
MText txt = ent as MText;
double txv = Convert.ToDouble(txt.Contents);
string txnv = Convert.ToString(txv + v1.Value);
txt.Contents = txnv;