1.隐式转换:(String不能隐式转换为int)
int a=(double)b;
2.显式转换:
int a=Convert.ToDouble(b);
=Double.Parse(b.ToString());