sureshcd10
Regular
- Joined
- Dec 25, 2003
- Messages
- 77
See code below
string str = "APR 12.34% APR";
string aDecimal;
aDecimal = Decimal.Parse(str, System.Globalization.NumberStyles.Any).ToString();
Response.Write(aDecimal);
Here I am trying to retrieve the numeric part from the string str ? and is not working.
Is there any other idea to achieve the expected result
Thank u in advance
string str = "APR 12.34% APR";
string aDecimal;
aDecimal = Decimal.Parse(str, System.Globalization.NumberStyles.Any).ToString();
Response.Write(aDecimal);
Here I am trying to retrieve the numeric part from the string str ? and is not working.
Is there any other idea to achieve the expected result
Thank u in advance