
04-21-2008, 07:57 AM
|
 |
Moderator
|
|
Join Date: Jul 2007
Location: Colombo, Sri Lanka
Posts: 4,603
|
|
Originally Posted by sukatoa
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
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.
|