[x]
Posted via EE Mobile

Search, ask, and monitor your questions on the go with EE Mobile. Visit Experts Exchange from your mobile device and never be out of touch again.

Question
[x]
Attachment Details

IN JSTL fmt:formatNumber tag only supports US Dollar currency format(###,###,###.###), How to display currency in other locale format  ##,##,##,###.### (i.e locale en_IN) Indian currency format

Asked by rajiv742 in Java Standard Tag Library (JSTL) & Server Tags, Java Programming Language, New to Java Programming

Tags: JSTL formatNumber tag support for indian currency

IN JSTL fmtNumber tag only supports US Dollar currency format(###,###,###.###), How to display currency in other locale format  ##,##,##,###.### (i.e locale en_IN) Indian currency format

Even changing the pattern attribute in jstl formatNumber tag, gives wrong output

<fmt:formatNumber pattern="##,##,##,##0.00" value="45435345.34" type="currency"/>

gives output 45,435,345.34 (comma after 3 digits)

but expected result was 4,54,35,345.34 (comma after 2 digits and last comma before 3 decimal digits)

How to display the currency in en_IN locale indian currency format ( ##,##,##,##,#00.00)
[+][-]07/26/09 07:24 PM, ID: 24948542Expert Comment

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 30-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]11/12/09 12:59 AM, ID: 25802542Expert Comment

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 30-day free trial to view this Expert Comment or ask the Experts your question.

 
 
Loading Advertisement...
20091111-EE-VQP-92 - Hierarchy / EE_QW_3_20080625