[
http://jira.jboss.com/jira/browse/JBRULES-435?page=comments#action_12342734 ]
Michael Neale commented on JBRULES-435:
---------------------------------------
hmmm... yes. A few ways to solve this.
The immediate workaround is to make it text in the spreadsheet cell, not a number, then it
should come out verbatim.
Otherwise we can either
a) make the DRL support scientific notation
b) make the XLS parser convert it to long notation form.
Large integer values in decision tables are converted to scientific
notation in DRL which cannot be parsed
----------------------------------------------------------------------------------------------------------
Key: JBRULES-435
URL:
http://jira.jboss.com/jira/browse/JBRULES-435
Project: JBoss Rules
Issue Type: Bug
Security Level: Public(Everyone can see)
Components: Decision tables, Drl Parser/Builder
Reporter: Volker Augustin
Assigned To: Michael Neale
When a condition column in a decision table contains values like 25000000, this is
compiled using the SpreadsheetCompiler into 2.5E7 in the DRL. However, the DRL
parser/compiler cannot cope with this notation and exists with a unexpected token
"E7" error message.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://jira.jboss.com/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira