Search:

Type: Posts; User: Junky

Search: Search took 0.08 seconds.

  1. Re: Help with code for converting 4 digit string to integer

    You add code that will convert the int to a String, just like the method name says it should do.
  2. Re: Help with code for converting 4 digit string to integer

    What do you mean by "under"? The location of methods in not important.

    public String int2string( int value ) {
    // hint: see Character.forDigit
    String str = "";
    // add...
  3. Re: Help with code for converting 4 digit string to integer

    Being in the worng place is not the issue. The problem is those methods do not do what they are supposed to. All int2String does is return an empty string. All string2int does is return 0. I assume...
Results 1 to 3 of 3