string strValue = "-10";
int.TryParse(strValue, out ivalue);
strValue = "-10.99";
decimal.TryParse(strValue, out dValue);
Open in new window
IT issues often require a personalized solution. With Ask the Experts™, submit your questions to our certified professionals and receive unlimited, customized solutions that work for you.