Hi,
No protests for my side. I'll move the functionality to the Math tool and resubmit.
~ Leon
Nathan Bubna wrote:
yeah, and actually, the more i think about it, the more sure i am that this belongs there. that way we can take advantage of MathTool's existing object-to-number conversion code and the matchType() stuff for return values. and i'm actually almost done with the switch. <grin/> just gotta test and i'll check this in soon. Leon, please protest if you feel strongly otherwise. :)
Nathan Bubna [EMAIL PROTECTED]
----- Original Message ----- From: "Marin� A. J�nsson" <[EMAIL PROTECTED]>
To: "'Velocity Developers List'" <[EMAIL PROTECTED]>
Sent: Wednesday, July 21, 2004 2:23 PM
Subject: RE: Aggregate Tool
that's actually the first question that came to my mind when Leon originally posted the thing :)
Marin�
-----Original Message----- From: Nathan Bubna [mailto:[EMAIL PROTECTED] Sent: 21. j�l� 2004 20:57 To: Velocity Developers List Subject: Re: Aggregate Tool
Leon Messerschmidt said: ...
For one of our projects I created an Aggregate Tool. This
tool takes
a list of numbers and calculates the sum/average for the list of numbers.
The tool can also take a list of beans and a field name.
It will then
extract the numeric values for the field and add them together.
...
while sneaking in a few hours today for veltools stuff, i decided to test this out. it works fine and seems useful. so i'd like to check it in. my only question is why not put this functionality into MathTool? it is just simple math, after all.
thoughts on this from anyone are welcome, but i do especially want to hear from Leon. :)
Nathan Bubna [EMAIL PROTECTED]
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
