<div dir="ltr">On Wed, Oct 19, 2016 at 12:14 PM, JAZEIX Johnny <span dir="ltr"><<a href="mailto:jazeix@gmail.com" target="_blank">jazeix@gmail.com</a>></span> wrote:<div class="gmail_extra"><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><br><div bgcolor="#FFFFFF" text="#000000"><p>The question is more on how to handle the different cases with
the same base code. We should have a way to know if the data is
good without having a lot of if(multiplication) check if (number 1
* number 2 = expected result) else if (addition) check if (number
1 + number 2 = expected result)...</p><span class="HOEnZb"><font color="#888888"></font></span></div></blockquote><div><br></div><div>Hi, just lurking on your list, but if I may suggest: just evaluate the string expression and test whether true or false. That works for all math.<br></div><div>-Charles<br></div><div><br> </div></div></div></div>