如果我有:int a = 123; int b = 456; 如何得到?:double c = 123.456; 最佳答案 这个怎么样:int a = 123; int b = 456; double c = Double.parseDouble(a + "." + b);