Troubleshooting
Problem
When we divide BigDecimal input values (without any scale) in JRules, the result is rounded.
Symptom
For example, ((10571/200)/100 ) returns 0 instead of .52855.
[{"Product":{"code":"SS6MTS","label":"WebSphere ILOG JRules"},"Business Unit":{"code":"BU053","label":"Cloud \u0026 Data Platform"},"Component":"Features:BOM (Business Object Model)","Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"7.1;7.0;6.7","Edition":"","Line of Business":{"code":"LOB45","label":"Automation"}},{"Product":{"code":"SSQP76","label":"IBM Operational Decision Manager"},"Business Unit":{"code":"BU048","label":"IBM Software"},"Component":null,"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"8.5;8.0;7.5","Edition":"Enterprise","Line of Business":{"code":"LOB76","label":"Data Platform"}}]
Log InLog in to view more of this document
This document has the abstract of a technical article that is available to authorized users once you have logged on. Please use Log in button above to access the full document. After log in, if you do not have the right authorization for this document, there will be instructions on what to do next.
Was this topic helpful?
Document Information
Modified date:
15 June 2018
UID
swg21496358