[
https://issues.redhat.com/browse/DROOLS-5051?page=com.atlassian.jira.plug...
]
Toshiya Kobayashi moved RHDM-1236 to DROOLS-5051:
-------------------------------------------------
Project: Drools (was: Red Hat Decision Manager)
Key: DROOLS-5051 (was: RHDM-1236)
Workflow: GIT Pull Request workflow (was: CDW with docs v1)
Docs QE Status: NEW
Component/s: core engine
(was: BRE)
Affects Version/s: 7.33.0.Final
(was: 7.6.0.GA)
QE Status: NEW
Mvel type coercion and rounding behavior compatibility between mvel
2.2.8 and 2.4.3
-----------------------------------------------------------------------------------
Key: DROOLS-5051
URL:
https://issues.redhat.com/browse/DROOLS-5051
Project: Drools
Issue Type: Bug
Components: core engine
Affects Versions: 7.33.0.Final
Reporter: Toshiya Kobayashi
Assignee: Toshiya Kobayashi
Priority: Major
Labels: support
I have rule like as:
=========
rule "My Rule"
no-loop true
dialect "mvel"
when
$info : MyInfo()
then
modify ($info) {
setResult(15 * Math.round( new BigDecimal("49.4") ) / 100 )
}
end
=========
If I exeucte this rule in BRMS 6.4.x release, I will get 7.35 in the reponse . But if I
execute same rule in RHDM 7.4.+ release I will 7 in the response.
--
This message was sent by Atlassian Jira
(v7.13.8#713008)