What is the parseDouble() method?
Are you preparing for IT certification? With practice questions, study notes, interactive quizzes, tips and technical articles, uCertify PrepKits ensure that you get a solid grasp of core technical concepts to ace your certification exam in first attempt.
What is the parseDouble() method?
Rating:
The parseDouble() method is a static method of the Double class. It takes a String type argument and returns a primitive double equivalent of the number represented by the string using radix 10. However, if the string passed as an argument to the method does not contain a parsable number, it throws an exception of type NumberFormatException.
Rating:
Was this information helpful?
Other articles
- What is the toHexString() method of the Double class?
- What is the modulus operator?
- What are reference variables?
- What is the toHexString() method of the Integer class?
- What is method overriding in Java?