You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@commons.apache.org by "Gary Gregory (JIRA)" <ji...@apache.org> on 2013/09/01 00:42:51 UTC

[jira] [Commented] (LANG-912) MathUtils.sum() method to add together a bunch of numbers.

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

Gary Gregory commented on LANG-912:
-----------------------------------

Commons Math?
                
> MathUtils.sum() method to add together a bunch of numbers.
> ----------------------------------------------------------
>
>                 Key: LANG-912
>                 URL: https://issues.apache.org/jira/browse/LANG-912
>             Project: Commons Lang
>          Issue Type: New Feature
>          Components: lang.math.*
>    Affects Versions: 3.1
>         Environment: Any
>            Reporter: Matt Bishop
>            Priority: Minor
>             Fix For: 3.2
>
>
> I find myself doing sums frequently with a variety of numbers. It would be nice if MathUtils had a method like this:
>     int add(int... numbers);

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira