2009/4/21 Dave Newton <newton.d...@yahoo.com>:
> Meh--for simple stuff like this I'm not as sure, although if we're talking
> about a line item in a invoice, it wouldn't take much to convince me.

How do you want to test it? I know it's a simple case, but it's better
to have logic in one place.

> The issue for me would be that if this is money maths it should be using
> BigDecimal (or something), and I'm not sure what OGNL would do with the '*'
> operator.

So you answer your question, use additional method with no cost, with
easy way to extend the logic behind in the method.


Regards
-- 
Lukasz
http://www.lenart.org.pl/

---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscr...@struts.apache.org
For additional commands, e-mail: user-h...@struts.apache.org

Reply via email to