Search:

Type: Posts; User: tomtensfarfar

Search: Search took 0.09 seconds.

  1. Re: Integer to String, can't get it to work

    Okay, sorry.
  2. Re: Integer to String, can't get it to work

    Thanks a lot for the reply. It's just that I have a deadline so I wanted to increase the chances of me getting an answer. I really appreciate it!
  3. Re: Integer to String, can't get it to work

    Ok. I will implement this in a djikstra algorithm. I have a "from", "current" and "to" that consists of a string of 4 numbers. Then I will check, each timestep, what my current node is, whether or...
  4. Re: Integer to String, can't get it to work

    Yeah, I'm aware of that. I only changed it to see if I could find the error. The thing is that I want the output to act like a string, so I can use it in another class. Why can't I do it like that?
  5. Integer to String, can't get it to work

    Hi.
    I try to get the following code to run:


    for (int i = 0; i < 1; i++) {
    str = Integer.toString(i);
    if (i < 10) {
    str = "0" + str;
    }
Results 1 to 5 of 5