You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@poi.apache.org by bu...@apache.org on 2022/08/28 11:07:56 UTC

[Bug 57550] evaluating formula produces different result to excel due to using double instead of BigDecimal

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

PJ Fanning <fa...@yahoo.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
         Resolution|---                         |INFORMATIONPROVIDED
             Status|NEW                         |RESOLVED

--- Comment #2 from PJ Fanning <fa...@yahoo.com> ---
cell.getNumericCellValue() returns the double precision approximations stored
in the Excel file. If you want the values as displayed in the Excel app, use
https://poi.apache.org/apidocs/dev/org/apache/poi/ss/usermodel/DataFormatter.html#formatCellValue-org.apache.poi.ss.usermodel.Cell-

-- 
You are receiving this mail because:
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@poi.apache.org
For additional commands, e-mail: dev-help@poi.apache.org