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

[ad_1]

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 +"%"; 

[ad_2]

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