Results 1 to 2 of 2

Thread: showing country currency

  1. #1

    Thread Starter
    Member
    Join Date
    Apr 2007
    Posts
    39

    showing country currency

    Hi I did use the

    Code:
    NumberFormat currency = NumberFormat.getCurrencyInstance(Locale.UK);
    to get pound currency but gave funy character what is worng? please help

  2. #2
    Arabic Poster ComputerJy's Avatar
    Join Date
    Nov 2005
    Location
    Happily misplaced
    Posts
    2,513

    Re: showing country currency

    Try:
    Code:
    System.out.print(Currency.getInstance(Locale.getDefault()).getSymbol());
    And don't start a new thread when you can you're still in the same topic. Just so you don't distract people
    "I'm not normally a praying man, but if you're up there, save me... Superman!" - Homer Simpson
    My Blog

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width