Uploaded image for project: 'OFBiz'
  1. OFBiz
  2. OFBIZ-6386

compareBigDecimals in org.ofbiz.minilang.method.conditional.Compare does not compare certain values correctly

    Details

      Description

      Moving the conversation from OFBIZ-6291 to this issue.

      compareBigDecimals scales down and rounds up meaning you lose information and the comparison result is not as expected

        Attachments

        1. compareBigDecimals.png
          22 kB
          Gareth Carter
        2. v1.patch
          6 kB
          Gareth Carter
        3. v2.patch
          1.0 kB
          Gareth Carter
        4. OFBIZ-6386_1783753.patch
          6 kB
          Gareth Carter

          Activity

            People

            • Assignee:
              jacques.le.roux Jacques Le Roux
              Reporter:
              gareth.carter Gareth Carter
            • Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: