I knew I was missing something stupid. Thanks a ton!
Type: Posts; User: theway
I knew I was missing something stupid. Thanks a ton!
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;
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...