commons-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Henri Yandell (JIRA)" <j...@apache.org>
Subject [jira] [Comment Edited] (LANG-912) MathUtils.sum() method to add together a bunch of numbers.
Date Wed, 16 Oct 2013 09:13:42 GMT

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

Henri Yandell edited comment on LANG-912 at 10/16/13 9:12 AM:
--------------------------------------------------------------

I can't seem to see anything in Math for this however. Perhaps this is too simple :) 

I've mailed the dev list.


was (Author: bayard):
I can't seem to see anything in Math for this however. Perhaps this is too simple :) 

> 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.x
>
>
> 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 was sent by Atlassian JIRA
(v6.1#6144)

Mime
View raw message