<html>
  <head>
    <meta content="text/html; charset=ISO-8859-1"
      http-equiv="Content-Type">
  </head>
  <body bgcolor="#FFFFFF" text="#000000">
    <div class="moz-cite-prefix">Hello Jayesh,<br>
      <br>
      Thank you for reporting! This is now fixed.<br>
      <br>
      Best regards,<br>
      <pre class="moz-signature" cols="72">Liviu Chircu
OpenSIPS Dev
<a class="moz-txt-link-freetext" href="http://www.opensips-solutions.com">http://www.opensips-solutions.com</a></pre>
      On 08/09/2013 06:00 PM, Jayesh Nambiar wrote:<br>
    </div>
    <blockquote
cite="mid:CANAYozuWRzpRUiNDvBtFoR5yabH3C_S2xuRGacJZqVS_tKJiNg@mail.gmail.com"
      type="cite">
      <div dir="ltr">Hi,
        <div>I was testing the mathops module and observed the
          following:</div>
        <div><br>
        </div>
        <div>math_eval("2.332 / 1.039", "$avp(result)");<br>
        </div>
        <div>The above expression gives proper result. But:</div>
        <div><br>
        </div>
        <div>math_eval("2.332 / 0.039", "$avp(result)");<br>
        </div>
        <div>This results in following error in the syslog:</div>
        <div><br>
        </div>
        <div>WARNING:mathops:convert_to_rpn: Parse expr error: Invalid
          operator! &lt;0&gt;<br>
        </div>
        <div>ERROR:mathops:evaluate_exp: Failed to convert expression to
          RPN form!<br>
        </div>
        <div><br>
        </div>
        <div>Basically the division with a float point value starting
          with '0.' doesn't work. Can somebody please help me in
          confirming this. I have downloaded from 1.10beta from source
          and installed.</div>
        <div><br>
        </div>
        <div>Thanks,</div>
        <div><br>
        </div>
        <div>--- Jayesh</div>
        <div><br>
        </div>
      </div>
      <br>
      <fieldset class="mimeAttachmentHeader"></fieldset>
      <br>
      <pre wrap="">_______________________________________________
Users mailing list
<a class="moz-txt-link-abbreviated" href="mailto:Users@lists.opensips.org">Users@lists.opensips.org</a>
<a class="moz-txt-link-freetext" href="http://lists.opensips.org/cgi-bin/mailman/listinfo/users">http://lists.opensips.org/cgi-bin/mailman/listinfo/users</a>
</pre>
    </blockquote>
    <br>
  </body>
</html>