Hi,
The latter pattern should work, but you have to write as follows so
that the '5555' is treated as a number not a string.
<stripes:text name="userx" value="${5555}" formatPattern="#.00" />
# I think you can omit formatType="number" because it's the default.
HTH,
Iwao
on 08.7.7 6:50 PM SivaKumarl said the following:
> Hi Friends,
> How to specify the fromatPattern for number in <stripes:text> tag.I have
> to display the two fraction digits after decimal,i wrote as
> <stripes:text name="userx" value="5555" formatType="number"
> formatPattern="#.##" />
> or
> <stripes:text name="userx" value="5555" formatType="number"
> formatPattern="#.00" />
>
> but these are not working,
>
> please give me correct pattern.
>
>
> Cheers
> -------
> Siva
-------------------------------------------------------------------------
Sponsored by: SourceForge.net Community Choice Awards: VOTE NOW!
Studies have shown that voting for your favorite open source project,
along with a healthy diet, reduces your potential for chronic lameness
and boredom. Vote Now at http://www.sourceforge.net/community/cca08
_______________________________________________
Stripes-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/stripes-users