Re: Currency Formatting

2009-03-25 Thread Matías Costa
On Wed, Mar 25, 2009 at 12:28 PM, fatjack1...@googlemail.com <
fatjack1...@googlemail.com> wrote:

>
> When you say the currency code, do I just type in something like
> 'GB' (or equivilent) for the UK?


British pounds = GBP
Euro = EUR
US Dollar = USD
And so on...

--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
"Google Web Toolkit" group.
To post to this group, send email to Google-Web-Toolkit@googlegroups.com
To unsubscribe from this group, send email to 
google-web-toolkit+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/Google-Web-Toolkit?hl=en
-~--~~~~--~~--~--~---



Re: Currency Formatting

2009-03-25 Thread fatjack1...@googlemail.com

When you say the currency code, do I just type in something like
'GB' (or equivilent) for the UK?

On Mar 25, 7:49 am, Twentyseven  wrote:
> Hi,
>
> You can use the NumberFormat class like this :
>
> NumberFormat fmt = NumberFormat.getCurrencyFormat(your currency code);
> TextBox currencyBox = new TextBox();
> currencyBox.setText(fmt.format(double));
>
> Eric
>
> On Mar 25, 12:20 am, "fatjack1...@googlemail.com"
>
>  wrote:
> > Hi,
>
> > Can someone please tell me a way to correctly format currency in
> > pounds?
>
> > Jack
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
"Google Web Toolkit" group.
To post to this group, send email to Google-Web-Toolkit@googlegroups.com
To unsubscribe from this group, send email to 
google-web-toolkit+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/Google-Web-Toolkit?hl=en
-~--~~~~--~~--~--~---



Re: Currency Formatting

2009-03-25 Thread Twentyseven

Hi,

You can use the NumberFormat class like this :

NumberFormat fmt = NumberFormat.getCurrencyFormat(your currency code);
TextBox currencyBox = new TextBox();
currencyBox.setText(fmt.format(double));

Eric

On Mar 25, 12:20 am, "fatjack1...@googlemail.com"
 wrote:
> Hi,
>
> Can someone please tell me a way to correctly format currency in
> pounds?
>
> Jack
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
"Google Web Toolkit" group.
To post to this group, send email to Google-Web-Toolkit@googlegroups.com
To unsubscribe from this group, send email to 
google-web-toolkit+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/Google-Web-Toolkit?hl=en
-~--~~~~--~~--~--~---



Currency Formatting

2009-03-24 Thread fatjack1...@googlemail.com

Hi,

Can someone please tell me a way to correctly format currency in
pounds?

Jack
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
"Google Web Toolkit" group.
To post to this group, send email to Google-Web-Toolkit@googlegroups.com
To unsubscribe from this group, send email to 
google-web-toolkit+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/Google-Web-Toolkit?hl=en
-~--~~~~--~~--~--~---