[ 
https://issues.apache.org/jira/browse/GROOVY-4847?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14984630#comment-14984630
 ] 

ASF GitHub Bot commented on GROOVY-4847:
----------------------------------------

GitHub user jwagenleitner opened a pull request:

    https://github.com/apache/incubator-groovy/pull/175

    GROOVY-4847 - Missing GDK rounding (and trunc) methods for BigDecimal

    I tried to address the issues raised by @blackdrag in the original 
groovy/groovy-core#281 PR.  The `round` methods may be slightly confusing since 
the `BigDecimal#round(MathContext)` method works on  the entire number, so I 
tried to call that out in the javadoc.

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

    $ git pull https://github.com/jwagenleitner/incubator-groovy GROOVY-4847

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

    https://github.com/apache/incubator-groovy/pull/175.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 #175
    
----
commit 93d34c407ab992ce17c7e6ca82735e0457701a69
Author: John Wagenleitner <john.wagenleit...@gmail.com>
Date:   2015-11-01T17:08:33Z

    GROOVY-4847 - Missing GDK rounding (and trunc) methods for BigDecimal

----


> Missing GDK rounding methods for BigDecimal
> -------------------------------------------
>
>                 Key: GROOVY-4847
>                 URL: https://issues.apache.org/jira/browse/GROOVY-4847
>             Project: Groovy
>          Issue Type: Improvement
>          Components: groovy-jdk
>    Affects Versions: 1.8.0
>            Reporter: Alexander Veit
>            Priority: Minor
>              Labels: contrib
>
> In the GDK has rounding methods Float/Double . The analogous methods for 
> BigDecimal are missing. Same for the trunc method.
> See also http://jira.codehaus.org/browse/GROOVY-4846.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to