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

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

    XMLWordPrintableJSON

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. OFBIZ-6386_1783753.patch
          6 kB
          Gareth Carter
        2. v2.patch
          1.0 kB
          Gareth Carter
        3. v1.patch
          6 kB
          Gareth Carter
        4. compareBigDecimals.png
          22 kB
          Gareth Carter

        Activity

          People

            jleroux Jacques Le Roux
            gareth.carter Gareth Carter
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: