• Post Reply Bookmark Topic Watch Topic
  • New Topic

how can show Hongkong's currency?

 
Sam Wang
Ranch Hand
Posts: 95
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I want to use the method:
"NumberFormat.getCurrencyInstance(Locale inLocale).format(double value)" to print
HK$(Hongkong),how can I set the Locale?
 
Rene Larsen
Ranch Hand
Posts: 1179
Eclipse IDE Mac OS X
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
How about doing it like this:

Rene
 
Sam Wang
Ranch Hand
Posts: 95
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thanks a lot.
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!