Hi all,
I wrote the codes below to display Japanese
Currency, but I got
?1,000,000
WHY? any help or hint is appreciated greatly!
Thank you!
----------------------------
import java.text.*;
import java.util.*;
class NumberFormatApp1 {
public static void main(String args[]) {
Locale l=new Locale("ja","JP");
NumberFormat format = NumberFormat.getCurrencyInstance(
l);
String formattedCurrency = format.format(1000000);
System.out.println(formattedCurrency);
}
}
--------------------------------------------------
_________________________________________________________
DO YOU YAHOO!?
FREE "@yahoo.co.jp" address --> http://mail.yahoo.co.jp
===========================================================================
To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST".
Some relevant FAQs on JSP/Servlets can be found at:
http://java.sun.com/products/jsp/faq.html
http://www.esperanto.org.nz/jsp/jspfaq.html
http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP
http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets
- Re: Japanese Currency display? space out
- Re: Japanese Currency display? Hans Bergsten
