[Solved] Converting string to Percent with 2 decimal points [closed]


Use this would help:

string value = "24.7%".Trim();
Value = value.Replace("%", "");
decimal Value = decimal.Parse(value);
string decimalValue = Value.ToString("0.00");
string actualValue=decimalValue +"%"; 

solved Converting string to Percent with 2 decimal points [closed]