发布网友 发布时间:2022-04-25 10:46
共1个回答
热心网友 时间:2024-10-06 12:42
string s = "80% ";
double d = Convert.ToDouble(s.TrimEnd( '% ')) / 100;
Text = d.ToString();
热心网友 时间:2024-10-06 12:39
string s = "80% ";
double d = Convert.ToDouble(s.TrimEnd( '% ')) / 100;
Text = d.ToString();