-
when get a Number of null,then transform to AvitorDouble it throws NPE
-
Would like to see a new release with latest spruce changes
-
版本:4.0.0RC
代码:
AviatorEvaluator.setOption(Options.ALWAYS_PARSE_FLOATING_POINT_NUMBER_INTO_DECIMAL, true);
System.out.println(AviatorEvaluator.execute("long(1.2)"));
抛出异常:
Except…
-
AviatorEvaluator.execute("10M/3M") 计算后为数值类型,作为中间值,如何保留精度,比如2位小数,20
位小数
MathContext类调整的是小数的长度,并非精度
-
For example
```java
String exp = "a=1; b = lambda(x) -> a+ x end ; a=4 ; b(5)";
System.out.println(AviatorEvaluator.execute(exp)); // output 6
```
should output `6`, but now is 9.
-
麻烦问下,如果使用情况为AviatorEvaluator.execute(fun1("a*b/c")/fun2("d*e/f"),env),此处的fun1和fun2都为自定义函数,里面的a,b,c,d,e,f都为因子,需要进入fun1和fun2中进行查询,如何才能保证线程安全呢?目前测试是无法满足的,感谢
-
-
Aviator Spring boot支持 实现
https://github.com/mengxiangrui007/spring-boot-rule-jsr94
-
ERROR] Failed to execute goal net.revelc.code.formatter:formatter-maven-plugin:2.0.1:format (default) on project aviator: Execution default of goal net.revelc.code.formatter:formatter-maven-plugin:2.0…
-
How to run this tool?
Just like commands,dependents or something like this
ghost updated
5 years ago