poi-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From FishMeat <...@git.apache.org>
Subject [GitHub] poi pull request #43: fix roundUp and roundDown
Date Fri, 09 Dec 2016 02:55:14 GMT
GitHub user FishMeat reopened a pull request:

    https://github.com/apache/poi/pull/43

    fix roundUp and roundDown

    roundUp function produces an unexpected floating point approximated value
    =ROUNDUP(3987 * 0.2, 2) produces 797.41
    but i want get 797.4

You can merge this pull request into a Git repository by running:

    $ git pull https://github.com/FishMeat/poi patch-3

Alternatively you can review and apply these changes as the patch at:

    https://github.com/apache/poi/pull/43.patch

To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:

    This closes #43
    
----
commit c144c3de27fe2c495f8dbefa2d94c67b9cd254c2
Author: Bobo <330771743@qq.com>
Date:   2016-12-05T03:10:22Z

    fix roundUp and roundDown
    
    roundUp function produces an unexpected floating point approximated value
    =ROUNDUP(3987 * 0.2, 2) produces 797.41
    but i want get 797.4

----


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastructure@apache.org or file a JIRA ticket
with INFRA.
---

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@poi.apache.org
For additional commands, e-mail: dev-help@poi.apache.org


Mime
View raw message