Search:

Type: Posts; User: Norm

Search: Search took 0.16 seconds.

  1. Replies
    12
    Views
    5,456

    Re: generate unique 9 digit number bug

    What would "00000001" convert to?
  2. Replies
    12
    Views
    5,456

    Re: generate unique 9 digit number bug

    What does the code do with the 9 digit number? Does it have to be an int value?
    What if the code was changed in this way:

    public static String generateRandom()
    ....
    ...
  3. Replies
    12
    Views
    5,456

    Re: generate unique 9 digit number bug

    Can you post some examples of the 8 digit numbers that were generated?

    How does the code handle leading 0s?
Results 1 to 3 of 3