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 2010/06/03 17:36:47 UTC

DO NOT REPLY [Bug 49377] New: [PATCH] Formatter classes using Java 6.0 features

https://issues.apache.org/bugzilla/show_bug.cgi?id=49377

           Summary: [PATCH] Formatter classes using Java 6.0 features
           Product: POI
           Version: 3.7-dev
          Platform: PC
        OS/Version: Windows XP
            Status: NEW
          Severity: normal
          Priority: P2
         Component: POI Overall
        AssignedTo: dev@poi.apache.org
        ReportedBy: will@coleda.com


This patch naively removes the offending use of .setRoundingMode() and relies
on the the default rounding algorithm.

-- 
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- 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


DO NOT REPLY [Bug 49377] [PATCH] Formatter classes using Java 6.0 features

Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=49377

Nick Burch <ni...@alfresco.com> changed:

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

--- Comment #3 from Nick Burch <ni...@alfresco.com> 2010-06-03 12:20:54 EDT ---
Fixed in r951052.

-- 
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- 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


DO NOT REPLY [Bug 49377] [PATCH] Formatter classes using Java 6.0 features

Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=49377

--- Comment #2 from David Fisher <df...@jmlafferty.com> 2010-06-03 11:52:25 EDT ---
Hi Nick,

This looks like an excellent example for a FAQ. - "Why do my POI results differ
from Excel?"

Regards,
Dave

-- 
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- 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


DO NOT REPLY [Bug 49377] [PATCH] Formatter classes using Java 6.0 features

Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=49377

--- Comment #1 from Nick Burch <ni...@alfresco.com> 2010-06-03 11:41:04 EDT ---
The default rounding mode is alas different to the one used by Excel

I guess the best thing is probably to call this via reflection? That way those
on Java 6 can get the same result as excel, and those on java 5 can get
something close...

-- 
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- 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