[jboss-jira] [JBoss JIRA] (DROOLS-5119) Workbench int value turns into 0.0 in drl
Bhala Hadkar (Jira)
issues at jboss.org
Mon Mar 2 18:50:00 EST 2020
[ https://issues.redhat.com/browse/DROOLS-5119?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13986857#comment-13986857 ]
Bhala Hadkar commented on DROOLS-5119:
--------------------------------------
Yes it is a BigDecimal
public class Order {
private BigDecimal originalQuantity;
> Workbench int value turns into 0.0 in drl
> -----------------------------------------
>
> Key: DROOLS-5119
> URL: https://issues.redhat.com/browse/DROOLS-5119
> Project: Drools
> Issue Type: Bug
> Components: Examples (Workbench)
> Affects Versions: 7.34.0.Final
> Reporter: Bhala Hadkar
> Assignee: Michael Anstis
> Priority: Major
> Attachments: Workbench-Guided-Rule.png, drools.png
>
>
> When I set up a Guided rule on Workbench having a comparison condition on one of the domain field of type int then the int value entered through literal text disappears and turns into 0.0B.
> For e.g. if you look at this Guided Rule screenshot the literal value 100 turned into 0.0.
> !Workbench-Guided-Rule.png|thumbnail!
> Also in the drools the value becomes 0.0B.
> !drools.png|thumbnail!
--
This message was sent by Atlassian Jira
(v7.13.8#713008)
More information about the jboss-jira
mailing list