Search:

Type: Posts; User: llowe29

Search: Search took 0.15 seconds.

  1. Replies
    7
    Views
    1,376

    Re: Need help with simple code

    Also it would be ast = in.NextDouble() not in.nextInt() because you declared ast as a double.
  2. Replies
    7
    Views
    1,376

    Re: Need help with simple code

    Use system.out.printf();
    Here is the API
    Complete Printf for Java Format String Specification
Results 1 to 2 of 2