I also think if you had defined it as a character it might simply your work. where you defined
float innum;
char plus="+";
char minus="+";
char times="x";
…
and then you use
`if (Character.toString(OP).matches(plus)) { // ... }
this will make your work more granular.
solved how to read math symbols