dotMath Work Item Rss Feedhttp://www.codeplex.com/WorkItem/List.aspx?ProjectName=dotMathdotMath Work Item Rss DescriptionCommented Issue: Boolean expressions [12575]http://dotmath.codeplex.com/workitem/12575Hi, I had been testing this library, it's awsome, but It looks like the boolean expressions have some problems an expression like "100>50 and 30>50" returns "1" instead of "0" (False), and "30>50 and 100>50" returns "0". I think that the Calculate() methos is only evaluating the first part of the expression.<br /> <br />Richo<br />Comments: ** Comment from web user: Parks75 ** <p>I'm having the same issue trying to do a Bitwise AND on two integers. It always returns 1.</p>Parks75Mon, 02 Jun 2014 13:45:22 GMTCommented Issue: Boolean expressions [12575] 20140602014522PCreated Unassigned: Nested If's [34598]http://dotmath.codeplex.com/workitem/34598I have notice an issue with nesting "if" statements<br /><br />If you have nested the if in the Then value then you get a error with the paramcheck not having enough parameters. So this fails<br /><br />___if(1>0,if(1==1,99,77),11)___<br /><br />but if you put the if in the else then everything is fine.<br />So this works<br /><br />___if(1>0,11,if(1==1,99,77))___<br />KiffeeThu, 24 Oct 2013 13:22:49 GMTCreated Unassigned: Nested If's [34598] 20131024012249PCommented Issue: Complex calculation [25995]http://dotmath.codeplex.com/workitem/25995if(4>5,10,100) * 5 ====> 500 but not calculated correctly.<br />Comments: ** Comment from web user: fernandezajp ** <p>replace SetFunction( sEquation ); by SetFunction( "("+sEquation+")" );<br />in EqCompiler constructor</p>fernandezajpWed, 20 Apr 2011 14:39:01 GMTCommented Issue: Complex calculation [25995] 20110420023901PCreated Issue: Complex calculation [25995]http://dotmath.codeplex.com/WorkItem/View.aspx?WorkItemId=25995if(4>5,10,100) * 5 ====> 500 but not calculated correctly.<br />tunzeyWed, 20 Jan 2010 19:01:59 GMTCreated Issue: Complex calculation [25995] 20100120070159PCOMMENTED ISSUE: Boolean expressionshttp://www.codeplex.com/dotMath/WorkItem/View.aspx?WorkItemId=12575Hi, I had been testing this library, it's awsome, but It looks like the boolean expressions have some problems an expression like "100>50 and 30>50" returns "1" instead of "0" (False), and "30>50 and 100>50" returns "0". I think that the Calculate() methos is only evaluating the first part of the expression.<br /><br />Richo<br />Comments: ** Comment from web user: exigeguy ** <p>I tried your test case and I was able to get it to work by wrapping either side of the and with parenthesis, e.g. (100 > 50) && (30>50). I had to add the CAnd operator in the InitFunctions() method. The problem is it gets fouled up trying to evaluate complex logical expressions because it is trying to evaluate 50 && 30>50 instead of maintaining the expression to the left of the && operator. I fixed it locally and also added support for string operations.</p>exigeguyWed, 06 Feb 2008 20:12:46 GMTCOMMENTED ISSUE: Boolean expressions 20080206081246PCREATED ISSUE: Boolean expressionshttp://www.codeplex.com/dotMath/WorkItem/View.aspx?WorkItemId=12575Hi, I had been testing this library, it's awsome, but It looks like the boolean expressions have some problems an expression like "100>50 and 30>50" returns "1" instead of "0" (False), and "30>50 and 100>50" returns "0". I think that the Calculate() methos is only evaluating the first part of the expression.<br /><br />Richo<br/>ralcortaTue, 04 Sep 2007 17:14:47 GMTCREATED ISSUE: Boolean expressions 20070904051447P