I am programming using microsoft visual j++ at the moment, and i need to generate a Double.parseDouble() method as the class Double doesn't contain it. Can you help me find the Integer class so i can see the integer.parseInt function and from that i can write my own Double.parseDouble() function or is there something else i can do. Just to note this aint a show stopper, i can get around it, its only a minor hitch but i'm so used to using it from using sun's java products.
Here are the ways to get the Double class source code from sun. 1. You can visit java.sun.com and download SDK for Java. when installing SDK, select install source code option. It will install a src.zip file which has Double.java in it.
2. Send me your email id and I will email you the source code and then you can have a look at it.
I am not posting that code on this forum bacause on one other than you will need it and it is little big.
> Here are the ways to get the Double class source code from > sun. > 1. You can visit java.sun.com and download SDK for Java. > when installing SDK, select install source code option. It > will install a src.zip file which has Double.java in it. > > 2. Send me your email id and I will email you the source > code and then you can have a look at it. > > I am not posting that code on this forum bacause on one > other than you will need it and it is little big. > > Thanks > Kishori
Many thanks for the reply but i have located the file and the problem is now solved. It is visual microsoft j++ is the problem. Double.parseDouble() is undefined i.e. class double donesn't contain a parseDouble() function. This seems to be regular in the version, cheers anyway