GitHub user FishMeat opened 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 <330771...@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 infrastruct...@apache.org or file a JIRA ticket
with INFRA.
---

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

Reply via email to