[GitHub] poi pull request #43: fix roundUp and roundDown

classic Classic list List threaded Threaded
4 messages Options
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

[GitHub] poi pull request #43: fix roundUp and roundDown

pjfanning
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 <[hidden email]>
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 [hidden email] or file a JIRA ticket
with INFRA.
---

---------------------------------------------------------------------
To unsubscribe, e-mail: [hidden email]
For additional commands, e-mail: [hidden email]

Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

[GitHub] poi pull request #43: fix roundUp and roundDown

pjfanning
Github user FishMeat closed the pull request at:

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


---
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 [hidden email] or file a JIRA ticket
with INFRA.
---

---------------------------------------------------------------------
To unsubscribe, e-mail: [hidden email]
For additional commands, e-mail: [hidden email]

Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

[GitHub] poi pull request #43: fix roundUp and roundDown

pjfanning
In reply to this post by pjfanning
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 <[hidden email]>
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 [hidden email] or file a JIRA ticket
with INFRA.
---

---------------------------------------------------------------------
To unsubscribe, e-mail: [hidden email]
For additional commands, e-mail: [hidden email]

Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

[GitHub] poi pull request #43: fix roundUp and roundDown

pjfanning
In reply to this post by pjfanning
Github user asfgit closed the pull request at:

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


---
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 [hidden email] or file a JIRA ticket
with INFRA.
---

---------------------------------------------------------------------
To unsubscribe, e-mail: [hidden email]
For additional commands, e-mail: [hidden email]

Loading...