https://bz.apache.org/bugzilla/show_bug.cgi?id=66501

            Bug ID: 66501
           Summary: Incorrect calculation because of using 'double' data
                    type
           Product: POI
           Version: 5.2.1-FINAL
          Hardware: PC
            Status: NEW
          Severity: normal
          Priority: P2
         Component: HSSF
          Assignee: [email protected]
          Reporter: [email protected]
  Target Milestone: ---

Since POI uses 'double' datatype to perform calculations the sum of the
following arguments (5.6, 5.8) will be 11.399999999999999.

Here is the explanation why we get such result when we sum up those arguments:
https://stackoverflow.com/a/322875.

Consider using BigDecimal instead of 'double'.

-- 
You are receiving this mail because:
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to