Hi,

  I want to display my amount in Indian Currency Format.(with commas)

for ex: This amount 100000.00 -----  I want to display like this ---1,00,000.00 This amount is dynamic.

here I done some codeing , but sun microsystems gave every currency format in Locale class.They did't give indian format. Please tell me how can I do this. Please send code also.

here I am mentioning my code its working perfectly for all other currency format. But I want Indian format. Please send code.

NumberFormat nf=NumberFormat.getCurrencyInstance(Locale.US);
String returnStr=nf.format(100000.00);

Resulet: Its gave result 100,000.00 becuz this is US format.

But I want like 1,00,000.00 this .This is (Indian format)

 

The above code instead of Locale.US I gave all other countries .Its giveing right format.

But I want to display my amount in Indian format. Please help me.

Regards

Srinivas

 

 

 

 

 



 



MSN Photos is the easiest way to share and print your photos: Click Here
=========================================================================== To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST". For digest: mailto [EMAIL PROTECTED] with body: "set JSP-INTEREST DIGEST". Some relevant FAQs on JSP/Servlets can be found at: http://archives.java.sun.com/jsp-interest.html http://java.sun.com/products/jsp/faq.html http://www.esperanto.org.nz/jsp/jspfaq.jsp http://www.jguru.com/faq/index.jsp http://www.jspinsider.com

Reply via email to