but i've only to display in a jsp the results, when i use that value i
compute it by the ejb.

On Tue, Apr 21, 2009 at 22:51, Dave Newton <newton.d...@yahoo.com> wrote:

> Stefano Tranquillini wrote:
>
>> The right solution is to calculate and insert in a new bean the elements
>> and
>> its total value?
>>
>
> That's *a* right solution, yes, particularly since you're doing money math.
> For money math to produce consistent, correct results you usually need to
> define a precision and rounding mechanism, since floating point math is
> inherently inaccurate.
>
> Dave
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: user-unsubscr...@struts.apache.org
> For additional commands, e-mail: user-h...@struts.apache.org
>
>


-- 
Stefano

Reply via email to