Double类的parseDouble方法:将字符串解析为double值String ds = "5.3739";Double d = Double.parseDouble(ds);
Float.parseFloat("12.3");