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: Invalid operator! <0>
ERROR:mathops:evaluate_exp: Failed to convert expression to RPN form!

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.

Thanks,

--- Jayesh
_______________________________________________
Users mailing list
[email protected]
http://lists.opensips.org/cgi-bin/mailman/listinfo/users

Reply via email to