commons-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From henrib <hen...@apache.org>
Subject Re: [Jexl] Problem using BigDecimal divide and compare
Date Fri, 13 May 2011 05:54:43 GMT
Howdy,
I'll be looking into it momentarily. I'm not sure I completely see the pb
with scaling wrt comparison since it seems a precision issue to me (set a
precision of 2 in your case); may be a comparison MathContext would be more
appropriate?
If a solution is urgent, you can always subclass JexlArithmetic in your own
project and/or additionally submit a patch.
Cheers

--
View this message in context: http://apache-commons.680414.n4.nabble.com/Jexl-Problem-using-BigDecimal-divide-and-compare-tp3510724p3519378.html
Sent from the Commons - User mailing list archive at Nabble.com.

---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@commons.apache.org
For additional commands, e-mail: user-help@commons.apache.org


Mime
View raw message