Categories
Converting String to Double?
The user enters a number in JTextFiled, how do I convert it to Double, because in JTextFiled it's just a Strring, and I also need to handle an error if he entered the wrong data.
Answer the question
In order to leave comments, you need to log in
Double parseDouble(str);
Didn't find what you were looking for?
Ask a Question
731 491 924 answers to any question