Search:

Type: Posts; User: willemuk

Search: Search took 0.11 seconds.

  1. Replies
    9
    Views
    3,280

    Re: Time String to int seconds

    Ok I think I understand what your saying. I am clear on your theory. My time values are minutes and seconds extracted from strings within a file. What I am having difficulty in doing is the...
  2. Replies
    9
    Views
    3,280

    Re: Time String to int seconds

    I understand what you mean but what I want to do is remove this manual input:

    System.out.println("Enter minutes: ");
    mins = Input.nextDouble();

    System.out.println("Enter seconds: ");
    secs =...
  3. Replies
    9
    Views
    3,280

    Re: Time String to int seconds

    Call me dumb lol. But I really wouldn't know how. I am just a beginner at this and am really drowning at the moment but am determined to grasp it somehow. Is there a working example anywhere that I...
  4. Replies
    9
    Views
    3,280

    Re: Time String to int seconds

    What I'm trying to achieve is one method not two. I simply need it to convert the time string into int seconds ready for later manipulation. I am guessing I am going about this the wrong way but I...
  5. Replies
    9
    Views
    3,280

    Time String to int seconds

    Please help!

    I am trying to convert a time string to an integer in seconds (eg. 1:25 = 85 secs) but cannot seem to figure out how best to go about doing this. I have so far used a delimiter to...
Results 1 to 5 of 5