Sajha.com Archives
Java Help needed

   to parse an Integer, you do parseInt(... 04-May-02 santosh
     change into string if it is not already 04-May-02 javaHelper


Username Post
santosh Posted on 04-May-02 10:21 AM

to parse an Integer, you do parseInt(...), what do you do for the Double????

Please help
thank you
javaHelper Posted on 04-May-02 11:56 AM

change into string if it is not already so.

Then use Double.valueOf(aString).doublevalue();

java 1.2 should have parseDouble(), anyway!