struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Matias Rodriguez <matias.rodrig...@gmail.com>
Subject Re: Decimal digits change when upgrading from 2.5.10.1 to 2.5.12
Date Fri, 13 Oct 2017 14:59:35 GMT
Thanks Lukasz & Yasser!
It would be great to keep backward-compatibility (no limit/max value). IMHO
the limitation should be done by a formatter, not in a converter,
delegating the formatting to the user's hands.
Thanks again.

On Mon, Oct 9, 2017 at 2:36 PM, Yasser Zamani <yasser.zamani@live.com>
wrote:

>
>
> On 10/9/2017 8:59 AM, Lukasz Lenart wrote:
> > - request a change via JIRA
>
> As Struts converts to/from strings, to keep backward-compatibility,
> maybe it's better to setMaximumFractionDigits to possible max value that
> can accepts; This avoids loss of user's data caused by rounding like
> previous versions do.
>
> Regards,
> Yasser.
>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message