Search:

Type: Posts; User: newbie

Search: Search took 0.14 seconds.

  1. Replies
    7
    Views
    1,323

    Re: simple calculation code

    else if (user >= 18 && < 50) should be else if (user >= 18 && user < 50). This is a typical rookie mistake, as it does make sense. However, each side of the || and && operators need to evaluate to...
  2. Replies
    7
    Views
    1,323

    Re: simple calculation code

    You need to convert the String into a double value. This is easily accomplished using the following method: parseDouble();
Results 1 to 2 of 2