怎样像Integer.parseInt(input.getText())一样得到double类型还有其他的类型的数字呢?怎样像Integer.pars
怎样像 Integer.parseInt(input.getText()); 一样得到double类型还有其他的类型的数字呢?
怎样像 Integer.parseInt(input.getText()); 一样得到double类型还有其他的类型的数字呢?
[解决办法]
Double.parseDouble()
Long.parseLong()
String.valueOf()
[解决办法]
楼主自己想到了阿,自然是Double.parseDouble(input.getText())阿?
