Uploaded image for project: 'Drools'
  1. Drools
  2. DROOLS-7414

BigDecimal equality with different scale

XMLWordPrintable

    • 2023 Week 15-17 (from Apr 10)
    • 2
    • NEW
    • NEW
    • ---
    • ---

      Issue Description:

      In Ansible Integration, 1.0 and 1.00 are not equal.

      ListContainsExpression uses org.drools.ansible.rulebook.integration.api.domain.constraints.Operators.areNumericEqual

      EqualsExpression uses org.drools.model.Index.areNumericEqual

      Acceptance Criteria:

      BigDecimal("1.0") and BigDecimal("1.00") are consider as equal in ansible-integration tests.

            rhn-support-tkobayas Toshiya Kobayashi
            rhn-support-tkobayas Toshiya Kobayashi
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: