You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@struts.apache.org by Shailender Jain <sh...@teleatlas.com> on 2004/10/04 07:45:25 UTC
1000 separator
Hello,
Does anybody knows how to create a 1000 separator for numbers using
struts tag library.
This should be similar to the one which can be done in Microsoft Word.
Thanks
Shailender Jain
---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
For additional commands, e-mail: user-help@struts.apache.org
Re: 1000 separator
Posted by Addy Kapur <ad...@gmail.com>.
You can use JSTL tag
<fmt:formatNumber value='${val}' type="currency" />
will format the number
On Mon, 04 Oct 2004 15:00:17 +0900, Shinobu Kawai
<sh...@gmail.com> wrote:
>
> Hi Shailender,
>
> > Does anybody knows how to create a 1000 separator for numbers using
> > struts tag library.
> > This should be similar to the one which can be done in Microsoft Word.
> Do you mean something like the "format" attribute?
> http://struts.apache.org/userGuide/struts-bean.html#write
>
> If so, you can find examples in the struts-examples.war.
> struts-examples.war/exercise/bean-write-2.jsp
>
> Best regards,
> -- Shinobu Kawai
>
> --
> Shinobu Kawai <shinobu.kawai@gmail.com >
>
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
> For additional commands, e-mail: user-help@struts.apache.org
>
>
---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
For additional commands, e-mail: user-help@struts.apache.org
Re: 1000 separator
Posted by Shinobu Kawai <sh...@gmail.com>.
Hi Shailender,
> Does anybody knows how to create a 1000 separator for numbers using
> struts tag library.
> This should be similar to the one which can be done in Microsoft Word.
Do you mean something like the "format" attribute?
http://struts.apache.org/userGuide/struts-bean.html#write
If so, you can find examples in the struts-examples.war.
struts-examples.war/exercise/bean-write-2.jsp
Best regards,
-- Shinobu Kawai
--
Shinobu Kawai <sh...@gmail.com>
---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
For additional commands, e-mail: user-help@struts.apache.org