The Artima Developer Community
Sponsored Link

Java Answers Forum
Class Double.

2 replies on 1 page. Most recent reply: Jan 7, 2003 12:46 PM by tokeeffe

Welcome Guest
  Sign In

Go back to the topic listing  Back to Topic List Click to reply to this topic  Reply to this Topic Click to search messages in this forum  Search Forum Click for a threaded view of the topic  Threaded View   
Previous Topic   Next Topic
Flat View: This topic has 2 replies on 1 page
tokeeffe

Posts: 2
Nickname: tokeeffe
Registered: Jan, 2003

Class Double. Posted: Jan 3, 2003 4:54 AM
Reply to this message Reply
Advertisement
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.


Kishori Sharan

Posts: 211
Nickname: kishori
Registered: Feb, 2002

Re: Class Double. Posted: Jan 4, 2003 9:28 AM
Reply to this message Reply
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

tokeeffe

Posts: 2
Nickname: tokeeffe
Registered: Jan, 2003

Re: Class Double. Posted: Jan 7, 2003 12:46 PM
Reply to this message Reply
> 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

Flat View: This topic has 2 replies on 1 page
Topic: A 13 year old java programmer.Please help me Previous Topic   Next Topic Topic: NoClassDeffFound Error

Sponsored Links



Google
  Web Artima.com   

Copyright © 1996-2019 Artima, Inc. All Rights Reserved. - Privacy Policy - Terms of Use