It's standard Java I18N formatting, IIRC.

Maybe try some Java docs, [1] might help.

Dave

[1] http://java.sun.com/docs/books/tutorial/i18n/format/decimalFormat.html

--- On Wed, 6/4/08, Milan Milanovic <[EMAIL PROTECTED]> wrote:

> From: Milan Milanovic <[EMAIL PROTECTED]>
> Subject: Re: [Struts 2] Formatting double
> To: "Struts Users Mailing List" <user@struts.apache.org>
> Date: Wednesday, June 4, 2008, 12:06 PM
> I found how to do it in this page:
> http://www.roseindia.net/struts/struts2/struts-2-format.shtml
> 
> But I'm not sure how can I format number e.g., like
> this: 000.000.000,00 kg
> 
> ?
> 
> These patterns are not clear to me.
> 
> --
> Thx, Milan
> 
> Milan Milanovic <[EMAIL PROTECTED]> wrote:
> Hi,
> 
> I have a double value that should be formated in following
> format: 000.000,00. I just need to show this value in the
> jsp page with . How can I do this ?
> 
> --
> Thx in advance, Milan Milanovic

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to