Search:

Type: Posts; User: theway

Search: Search took 0.22 seconds.

  1. Replies
    20
    Views
    2,475

    [SOLVED] Re: Try Catch Problems

    I knew I was missing something stupid. Thanks a ton!
  2. Replies
    20
    Views
    2,475

    [SOLVED] Re: Try Catch Problems

    Well, the loop looks like this. I'm trying to catch negative numbers and non-numbers, but it catches decimals like 5.5.


    do{

    try {

    error = false;
  3. Replies
    20
    Views
    2,475

    [SOLVED] Re: Try Catch Problems

    I'll attempt to piggyback on this thread with a quick catch question in case someone checks in.

    My catch(InputMismatchException e) will catch decimal inputs. I'd like the decimals to pass...
Results 1 to 3 of 3