Search:

Type: Posts; User: totmore

Search: Search took 0.09 seconds.

  1. Re: I Want To Apply Currency Format To My 2 Dimensional Array?

    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...
  2. Re: I Want To Apply Currency Format To My 2 Dimensional Array?

    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...
  3. I Want To Apply Currency Format To My 2 Dimensional Array?

    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...
  4. Replies
    10
    Views
    1,240

    Re: I need assistance with a rectangular array?

    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:...
  5. Replies
    10
    Views
    1,240

    Re: I need assistance with a rectangular array?

    I have update the code.
  6. Replies
    10
    Views
    1,240

    Re: I need assistance with a rectangular array?

    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...
  7. Replies
    10
    Views
    1,240

    Re: I need assistance with a rectangular array?

    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);
    ...
  8. Replies
    10
    Views
    1,240

    Re: I need assistance with a rectangular array?

    it outputs the following like 10 times

    null
    null
    null
    null

    null
    null
    null
  9. Replies
    10
    Views
    1,240

    I need assistance with a rectangular array?

    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...
Results 1 to 9 of 9