View Single Post
  #7 (permalink)  
Old 04-21-2008, 07:57 AM
Eranga's Avatar
Eranga Eranga is online now
Moderator
 
Join Date: Jul 2007
Location: Colombo, Sri Lanka
Posts: 4,603
Eranga has a spectacular aura aboutEranga has a spectacular aura about
Send a message via Yahoo to Eranga
Quote:
Originally Posted by sukatoa View Post
Code:
String data[] = {"1.1","2.2","3.3","4.4"}; Double converted[] = new Double[5]; int x=0; while(x<5){ converted[x] = Double.parseDouble(data[x]);x++; }
Try to have an experiment on it....

regards,
sukatoa
Nice work pal, and good practice

Code:
String[] data = {"1.1","2.2","3.3","4.4"};
__________________
Use an appropriate Subject. "Help, urgent!" isn't one.
To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.

Has someone helped you? Then you can
To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.
their helpful post.

Want to make your IDE the best?
To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.

To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.

To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.
Reply With Quote