double tmp;
double.TryParse(a.Text,out tmp);
a.Text从字符串转换为浮点型,赋值给tmp
若成功转换,返回true,否则false
TryParse()
最新推荐文章于 2024-01-18 08:46:18 发布
double tmp;
double.TryParse(a.Text,out tmp);
a.Text从字符串转换为浮点型,赋值给tmp
若成功转换,返回true,否则false