Search:

Type: Posts; User: Lizard

Search: Search took 0.11 seconds.

  1. Replies
    6
    Views
    2,435

    [SOLVED] Re: how to string a number?

    There has to be a way to end it in the loop
  2. Replies
    6
    Views
    2,435

    [SOLVED] Re: how to string a number?

    How do I get the program to stop after running after output the results once. What would I add?


    import java.util.*;

    public class Program31415
    {
    static Scanner console = new...
  3. Replies
    6
    Views
    2,435

    [SOLVED] How to string a decimal number in Java?

    So I want to string the number 3.1415 and use the substring to extract each part. So the output looks like this:

    3.1
    3.14
    3.141
    3.1415
    3.141
    3.14
    3.1
Results 1 to 3 of 3