poi-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject [Bug 56315] Floating point rounding problems with ROUND function
Date Fri, 28 Mar 2014 12:22:53 GMT

Jostein Tveit <josteitv@pvv.ntnu.no> changed:

           What    |Removed                     |Added
  Attachment #31438|0                           |1
        is obsolete|                            |

--- Comment #1 from Jostein Tveit <josteitv@pvv.ntnu.no> ---
Created attachment 31453
  --> https://issues.apache.org/bugzilla/attachment.cgi?id=31453&action=edit
[PATCH] Patch against trunk to solve this bug

I fixed this bug by using

new java.math.BigDecimal(NumberToTextConverter.toText(n))

instead of


All other unit tests goes green, so I assume this solution is ok.

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

View raw message