int a=12; double b=(double)a; or double c=Double.valueOf((double)a); string a_s="12"; double b_d=Double.parseDouble(a); 相关文章: