String equals() {
	    switch(prevOpn) {
	    case "add":
	        result = x + y;
	        break;
	    case "subtract":
	        result = x - y;
	        break;
	    case "multiply":
	        result = x * y;
	        break;
	    case "divide":
	        result = x / y;
	        break;
	    }
	    hasDecimalPoint[0] = false;
	    hasDecimalPoint[1] = false;
	    x = result;
	    cleanX = true;
	    cleanY = true;
	    endZero = "";
	    equalCalled = true;
	    canCalculate = false;
		return format(result);
	}