Treating strings as though they were numbers

Clicking the Calculate button generates an informative error; now the calculateTax() function handles the unexpected string gracefully.