Uploaded image for project: 'Pentaho Reporting and Pentaho Report Designer'
  1. Pentaho Reporting and Pentaho Report Designer
  2. PRD-3375

Round up/down error in Report Designer

    XMLWordPrintable

    Details

    • Notice:
      When an issue is open, the "Fix Version/s" field conveys a target, not necessarily a commitment. When an issue is closed, the "Fix Version/s" field conveys the version that the issue was fixed in.

      Description

      The client has reported the following behaviour on 3.8GA

      Value: 1234.560 resulted 1234.56 (Correct)
      Value: 1234.561 resulted 1234.56 (Correct)
      Value: 1234.562 resulted 1234.56 (Correct)
      Value: 1234.563 resulted 1234.56 (Correct)
      Value: 1234.564 resulted 1234.56 (Correct)
      Value: 1234.565 resulted 1234.56 (Still incorrect, its rounding down - It should be 1234.57)
      Value: 1234.566 resulted 1234.57 (Correct)
      Value: 1234.567 resulted 1234.57 (Correct)
      Value: 1234.568 resulted 1234.57 (Correct)
      Value: 1234.569 resulted 1234.57 (Correct)

      I seem to remember that is correct behaviour due to the rounding algorithm used in Report Designer.
      Is this correct?

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              kcruzada Kurtis Cruzada
              Reporter:
              myau Man Shing Yau (Inactive)
              Votes:
              1 Vote for this issue
              Watchers:
              2 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: