I don't think you understood the issue I'm pointing. I'm saying I pressed "3 + 1 +" due to fat finger. When the input has starting and/or ending operators, remove them before evaluating.
Ah my bad, I see what you're saying now. Adding this to my todos
Only potential problem I can see is if the grid line is for example:
3 + 4 + 3
And they accidentally press "3 + 4 +"
Hard to tell if they meant to press 3+4 or 3+4+3
If they meant to press 3+4+3 and the program auto removes the ending operator and submits it as 3+4, and it's incorrect, that might be more upsetting than having to quickly re-tap the equation they meant to submit
Comments
I don't think you understood the issue I'm pointing. I'm saying I pressed "3 + 1 +" due to fat finger. When the input has starting and/or ending operators, remove them before evaluating.
Ah my bad, I see what you're saying now. Adding this to my todos
Only potential problem I can see is if the grid line is for example:
3 + 4 + 3
And they accidentally press "3 + 4 +"
Hard to tell if they meant to press 3+4 or 3+4+3
If they meant to press 3+4+3 and the program auto removes the ending operator and submits it as 3+4, and it's incorrect, that might be more upsetting than having to quickly re-tap the equation they meant to submit