Hi Robert;
It took me a while to realize it but this behavior is indeed a bug; if user
input is a BigDecimal, JEXL should not try and coerce with precision loss.
Created JEXL-417.
Sorry about the delay.
Cheers
Henri
-
To unsubsc
Hi Robert;
There is no configuration that can help but you can certainly customize and
create your own derivation of JexlArithmetic that would forego trying to narrow
results for the common arithmetic operators. In your case, it might be enough
to just override narrowBigInteger(...bigi) to retur
Hi,
We've run into an issue with using JEXL due to a combination of integer
division on integer values and narrowing of BigDecimals to Integer. Not sure if
this type of problem has come up before. This forum only seems to have 4 jexl
issues and the Jira didn't have anything similar either.
We