Double cannot be "dereferenced" to toString
807598Dec 10 2005 — edited Dec 10 2005I am trying to change a Double into a string to be used by a JTextField.
double answerTest=100.0;
String answerTest2= answerTest.toString();
Upon trying to compile it doesn't like it. I'm a beginner, how can I accomplih this? I'm just trying to do a calculation on "answerTest" and then display it on a form.
Thanks!
Chris