Search:

Type: Posts; User: maple1100

Search: Search took 0.11 seconds.

  1. Thread: Java printf

    by maple1100
    Replies
    5
    Views
    1,506

    Re: Java printf

    So do I change it to %5.2d? I still get the error on that.
  2. Thread: Java printf

    by maple1100
    Replies
    5
    Views
    1,506

    Re: Java printf

    It not allowing me to print at all, it giving me the error at that line. I think what causing is I don't have a conversion format inside the printf for "(c.get(x).getVotes() / total ))" I do have...
  3. Thread: Java printf

    by maple1100
    Replies
    5
    Views
    1,506

    Java printf

    This is part of my code. I'm getting "illegalformatconversion" at the printf statement. How can I change the code so that the third thing it print is the votes / total votes? Thanks


    public...
Results 1 to 3 of 3