We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
2.1.6
负数乘法错误。 当A*B时,如果A>0 且 B < 0时,无法计算出正确结果。 貌似A被当成了1来参与计算了
无任何报错,但是结果不对
规则集配置如下
仿真测试结果如下
The text was updated successfully, but these errors were encountered:
原因是由于 com.bstek.urule.runtime.ElCalculator#eval 传入的expression格式问题。 使用了空格连接符导致transform(expression)方法失效,建议在之前先删除expression里面的空格再进行计算即可
Sorry, something went wrong.
使用界面配置出的 expression 表达式 本身就含有空格, 这个就是bug点, 无非是在ElCalculator中被体现出来, 严重缺陷
No branches or pull requests
为了您的问题能得到及时准确解答,请认真填写下面各个选项,感谢您的配合。
当前使用的URule的具体版本号:
2.1.6
遇到的问题详细描述:
负数乘法错误。
当A*B时,如果A>0 且 B < 0时,无法计算出正确结果。
貌似A被当成了1来参与计算了
涉及到的异常信息(完整异常信息):
无任何报错,但是结果不对
相关截图:
规则集配置如下
仿真测试结果如下
The text was updated successfully, but these errors were encountered: