使用Double.parseDouble()(推荐)这是最常用、最直接的方法,它是一个静态方法,可以直接通过Double类调用,语法publicstaticdoubleparseDouble(Strings)throws...