Thanks Liviu. Also a small change in the documentation at
http://www.opensips.org/html/docs/modules/1.10.x/mathops.html#id249034
The parameter needs to be set as:
modparam("mathops", "decimal_digits", 10)
The documentation suggests to put the 10 in inverted commas i.e. "10" which
throws an error
Hello Jayesh,
Thank you for reporting! This is now fixed.
Best regards,
Liviu Chircu
OpenSIPS Dev
http://www.opensips-solutions.com
On 08/09/2013 06:00 PM, Jayesh Nambiar wrote:
Hi,
I was testing the mathops module and observed the following:
math_eval("2.332 / 1.039", "$avp(result)");
The a
Hi,
I was testing the mathops module and observed the following:
math_eval("2.332 / 1.039", "$avp(result)");
The above expression gives proper result. But:
math_eval("2.332 / 0.039", "$avp(result)");
This results in following error in the syslog:
WARNING:mathops:convert_to_rpn: Parse expr error: