forked from Lunya-sh/Evil_Calculator
it is reverse POLISH notation :nerdy-face:
This commit is contained in:
@@ -144,7 +144,7 @@
|
||||
{
|
||||
if (currentOperand != "") equation.Add(new Token(Token.TokenType.Operand, currentOperand));
|
||||
buttonEquals.Text = "#";
|
||||
currentOperand = ReverseNotationSolver.Solve(equation);
|
||||
currentOperand = ReversePolishNotationSolver.Solve(equation);
|
||||
UpdateLabels();
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user