It works ok, but I want to show the digits (.0). Is there any way I can
now easily do this?
My price fields I have to manually set the value:
<s:textfield name="bean.price"
value="%{getText('format.number',{bean.price})}" size="5" maxlength="6" />
On 28 November 2017 at 08:15, Yasser Zamani <[email protected]> wrote:
>
>
> On 11/28/2017 11:34 AM, Greg Huber wrote:
> > Previously, if its value was 10 it used to show 10.0 now it only shows
> 10.
> > ie missing the decimal point and a zero.
>
> Yes, we dropped `.setMinimumFractionDigits(1)` [1]. Do you have any
> issue when post back the value to your action?
>
> [1]
> https://github.com/apache/struts/pull/173/commits/
> 66ae66141362e3fd1c3db26149e15619f6c20fcb
>