[Koha-bugs] [Bug 19759] New: TestBuilder generates too many decimals for float

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Wed Dec 6 17:06:56 CET 2017


https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=19759

            Bug ID: 19759
           Summary: TestBuilder generates too many decimals for float
 Change sponsored?: ---
           Product: Koha
           Version: unspecified
          Hardware: All
                OS: All
            Status: ASSIGNED
          Severity: normal
          Priority: P5 - low
         Component: Test Suite
          Assignee: jonathan.druart at bugs.koha-community.org
          Reporter: jonathan.druart at bugs.koha-community.org
        QA Contact: testopia at bugs.koha-community.org

For instance items.replacementprice is decimal(8,2) but more than 2 decimals
are generated.

It leads to issues when we compare expected objects:

    #          got: '135623.866142537'
    #     expected: '135623.87'

-- 
You are receiving this mail because:
You are watching all bug changes.


More information about the Koha-bugs mailing list