We use BigDecimal left and right in financial applications. It will be 
great to see a BigDecimal convertor in Struts-2. However, the conversion 
always involve complex formatting as well - dollars and yens get converted 
with different precision, for instance. 



From:
Dave Newton <davelnew...@gmail.com>
To:
Struts Developers List <dev@struts.apache.org>
Date:
18-01-2011 23:36
Subject:
Re: BigDecimal Validator



Still with big decimal. If the converter fails (which is does if, say,
there's whitespace) it's still a validation error. I'm assuming most 
people
either write their own, or do it manually, or just never deal with money.

(I still deal with floating point or money numbers only rarely, to be
honest, during my day job.)

Dave

On Tue, Jan 18, 2011 at 12:57 PM, Maurizio Cucchiara <
maurizio.cucchi...@gmail.com> wrote:

> > Hmm, I guess there's just a converter.
> Dave, you're right, nothing more than a silly converter :) .
>
> > I guess nobody uses BigDecimals.
> How do they represent monetary amounts ?
>
> --
> Maurizio Cucchiara
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscr...@struts.apache.org
> For additional commands, e-mail: dev-h...@struts.apache.org
>
>


=====-----=====-----=====
Notice: The information contained in this e-mail
message and/or attachments to it may contain 
confidential or privileged information. If you are 
not the intended recipient, any dissemination, use, 
review, distribution, printing or copying of the 
information contained in this e-mail message 
and/or attachments to it are strictly prohibited. If 
you have received this communication in error, 
please notify us by reply e-mail or telephone and 
immediately and permanently delete the message 
and any attachments. Thank you


Reply via email to