-
Bug
-
Resolution: Done
-
Major
-
7.50.0.Final
-
None
-
2021 Week 10-12 (from Mar 8), 2021 Week 13-15 (from Mar 29)
-
3
-
Documentation (Ref Guide, User Guide, etc.)
-
-
Undefined
-
NEW
-
NEW
-
---
-
---
When you have "Percent" format cells in a spreadsheet, you can put '0.5' in the cell and you will see '50.00%' in the spreadsheet. The cell value is still numeric '0.5' so ExcelParer will interpolate '0.5' to the generated DRL. (e.g. new BigDecimal("0.5"))
However, in case of values '1' or '0', ExcelParer will take the value as String "100.00%" or "0.00%". It will lead to a DRL compilation error (e.g. new BigDecimal("100.00%"))
See attached reproducer.
- is related to
-
DROOLS-7034 "IgnoreNumericFormat" with drools-decisiontables is not effective to reference cells
- Closed