A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
insert int values to double array
Joined: Dec 28, 2005
Nov 21, 2006 01:41:00
I'm doing a project and I'm now stuck with a point, to create a dynamic double array in Java. Can you please help me..
The values are
the values for i,j,k and l are coming from database.
I want to put these values in to a dynamic array
= new double;
after i want to add these values to the array..
Can you help me how to insert the values to the array!!
thanks and regards
Jesper de Jong
Joined: Aug 16, 2005
Nov 21, 2006 02:10:00
I don't understand exactly what the problem is. You can just assign the values to the entries of the array. Ofcourse the values will be automatically converted from int to double if you do that.
test = i; test = j; test = k; test = l;
Java Beginners FAQ
JavaRanch SCJP FAQ
The Java Tutorial
Java SE 7 API documentation
- My blog about Scala
I agree. Here's the link:
- it saves me about five hours per week
subject: insert int values to double array
compare values in String array
Help with Data Array for Hash Table creation
Syntax error- HELP
from a 2d array to a regular array....
Marcus Exam 3 Qn# 54
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2013