I'm creating a tax calculator in Java. I need to make it so that if the user does not enter a double value as their taxableIncome, the program will exit. I know it has to be something like
if (taxableIncome != )but I don't know what to put before the last parentheses. Is there a variable that Java recognizes as being a generic double value? I'm very confused as to how to do this. Thank you!