I tried that but all it does is duplicate the first column on to other columns so they all have the same values of the first column it works in a sense that it display all columns though, i'll...
Type: Posts; User: totmore
I tried that but all it does is duplicate the first column on to other columns so they all have the same values of the first column it works in a sense that it display all columns though, i'll...
if I run j from 1 [i][1] that will just print out my array without the first column, I want to keep the column just not currency formatted like the others?
using an if statement like Norm suggested...
I want to apply currency format to all the columns to my 2 dimensional array except the first column?
this code prints my array on the console with a currency format, How do i code it so it won't...
ok so I got got the counter to countrol the array so i dont print nulls using for(int i = 0; i <= counter; i++) so now how do I structure the out put so its in a table and not a list like this:...
I have update the code.
this is how my table should look like:
ex:
Inv/Mo. Rate Years Future Value
$100.00 8.0% 10 $18.416.57
$125.00 8.0% 10 $23,020.71
this is the Output I get:
Welcome to the Future Value...
Yea prints it out for me, but I don't think thats causing the issue I think the issue is caused by my code:
FutureValueArray[counter][0] = Double.toString(monthlyInvestment);
...
it outputs the following like 10 times
null
null
null
null
null
null
null
I don't understand how to add code that stores the formatted values as strings in the next row of the array and use the toStrings method of the integer class to store the years value? so far i've...