Wouldn¹t the appropriate currency symbol be in the locale properties? I
expect you would have a separate package.properties file for each locale.
Z.
>
> akoo wrote:
>> > I am not sure actually, it was just an example I pulled the roseindia site.
>> > This is all quite new to me.
>
> (Be wary of
akoo wrote:
I am not sure actually, it was just an example I pulled the roseindia site.
This is all quite new to me.
(Be wary of roseindia tutorials.)
Chris is right; it's just a positional parameter--not sure what I was
thinking when I wrote my original response.
Dave
---
I am not sure actually, it was just an example I pulled the roseindia site.
This is all quite new to me.
newton.dave wrote:
>
> akoo wrote:
>> format.number = USD{0,number,##0.00}
>
> Is it possible to specify characters outside of the format string like
> that? It's not how you've formatted
Since the purpose of the tag is to allow things like:
error.message=User {0} has not been granted permission to view that page
I don't see how having USD outside of the curly braces would be a problem,
but just in case it is, you might try:
format.money={0,number,'USD'###,##0.00}
Also try so
akoo wrote:
format.number = USD{0,number,##0.00}
Is it possible to specify characters outside of the format string like
that? It's not how you've formatted the money type:
format.money = {0,number,\u00A4##0.00}
Dave
-
T
Guess it would help if I read your entire email ;)
How about this:
format.number= {0,number,\u00A4###,##0}
-or-
format.number= {0,number,'USD'###,##0}
On Fri, May 1, 2009 at 1:26 PM, Burton Rhodes wrote:
> I solved it this way:
>
>
>
> Then in your class path put a file called package.proper
wont "format.money = {0,number,\u00A4###,##0}" automatically add a '$' sign
in front of the number?
On Fri, May 1, 2009 at 2:26 PM, Burton Rhodes wrote:
> I solved it this way:
>
>
>
> Then in your class path put a file called package.properties with the
> following:
>
> # used to format dates,
I solved it this way:
Then in your class path put a file called package.properties with the following:
# used to format dates, numbers in the jsp files (display)
format.time = {0,time}
format.dateShort = {0,date,MM/dd/}
format.number = {0,number,###,##0.0##}
format.percent = {0,number,##0.0
8 matches
Mail list logo