753754755756757758759760761762763764765
} finally { isProcessing = false; currentEqn.eqn = initial; currentEqn.answer = output; history.appendEquation(new Equation(currentEqn)); if (saveHistory) history.writeToXML(); currentEqn = new Equation(); command = ""; } return output; }
928929930931932933934935
} // Just some minor formatting checks if (result.length() >= 4 && result.substring(0, 4).equalsIgnoreCase("0.0+")) result = result.substring(4); currentEqn = new Equation(); return result; }
1883188418851886188718881889
public Equation getCurrentEqn() { return currentEqn; } public void setCurrentEqn(Equation currentEqn) { this.currentEqn = new Equation(currentEqn); }