Timeline for A (late) Simple Calculator
Current License: CC BY-SA 3.0
3 events
when toggle format | what | by | license | comment | |
---|---|---|---|---|---|
May 16, 2015 at 16:09 | vote | accept | TheCoffeeCup | ||
May 15, 2015 at 21:28 | comment | added | TheCoffeeCup |
I found the bug. line 40/41 has: result = currentOp.execute(result, calculate(equationParts[1], nextOp)); I meant result = currentOp.execute(result, calculate(equationParts[i], nextOp)); notice the 1 and the i
|
|
May 15, 2015 at 20:49 | history | answered | 200_success | CC BY-SA 3.0 |