May seem like a stupid question but is it possible to convert strings from a readLine() call into a series of doubles. And if so (got to be able to) how? thanx
posted 16 years ago
The Double class has a static method: double parseDouble(String s) You will want to use a StringTokenizer, and use parseDouble on each of the String's returned from the tokenizer. And then do what you want with each one.