Community
Participate
Working Groups
Created attachment 112228 [details] Patch for NumberUtil.isDouble() See bug #245897. The current implementation tends to yield false for BigDecimals that actually _can_ be converted to double values. With the potential loss of precision, of course. Patch is attached. It actually is a subset of the patch from bug #245897. I'd love to provide a testcase, but I couldn't think of a good place to put it. It would have to call NumberUtil.isDouble() directly.
(In reply to comment #0) > Patch is attached. It actually is a subset of the patch from bug #245897. I'd > love to provide a testcase, but I couldn't think of a good place to put it. It > would have to call NumberUtil.isDouble() directly. I'll let that be my problem, this time. ;-)
Committed the patch to the 1.2.2 release.
Christian, thanks a lot!
Closing after over 18 months in resolved state.