<table cellspacing="0" cellpadding="0" border="0" ><tr><td valign="top" style="font: inherit;">Using<br>drools 5.1<br>mvel 2-2.0.14<br><br>In consequence (then) block : (dialect strict or not does not make a difference)<br><br>Trying to sum up some numbers after a multiplication operation. For example :<br><br>t.out = t.in2*t.in3 + t.in3*t.in4 + t.in2*t.in4;<br><br>(the object t has all its attributes of the type String), all the t.in parameters are actually numbers-as-strings.<br><br>So the multiplication is going on fine, as expected, but the addition (+) sign, is concatenating instead of adding.<br><br>So the for inputs "1", "2" and "3", the result looks something like : 2.06.03.0&nbsp; (i.e concetenated) instead of the expected 11.0.<br><br>What is going worng&nbsp; How does the + operator decide to do concat instead of doing addition.<br><br>Any documentation on this + operator logic ?<br><br>Note : The above works fine when I use MVEL without
 Drools.<br><br>Thanks <br></td></tr></table><br>