当前位置:网站首页>Displaying currency in Indian numbering format

Displaying currency in Indian numbering format

2022-07-04 06:24:00 Zafo

problem :

I have a question about formatting the Rupee currency (Indian Rupee - INR). I have a question about formatting rupee currency ( India rupee - INR) The problem of .

Typically a value like 450500 is formatted and shown as 450,500 . Usually like 450500 Such a value is formatted and displayed as 450,500 .In India, the same value is displayed as 4,50,500 In India, , The same value is displayed as 4,50,500

For example, numbers here are represented as: for example , The number here is expressed as :

1101001,00010,0001,00,00010,00,0001,00,00,00010,00,00,000

Refer Indian Numbering System Reference resources Indian numbering system

The separators are after two digits, except for the last set, which is in thousands. Separator after two digits , Except for the last group , In thousands .

I've searched on the internet and people have asked to use the locale en_GB or pattern #,##,##,##,##0.00 I searched the Internet for , People require language environment en_GB Or mode #,##,##,##,##0.00

I tried this on JSTL by using the following tag: I use the following tags in JSTL Tried this on :

<fmt:formatNumber value="${product.price}" type="currency"   pattern="#,##,##,##,###.00"/>

But this does not seem to solve the issue. But this does not seem to solve the problem .


Solution :

Reference resources : https://stackoom.com/en/question/MZNn
原网站

版权声明
本文为[Zafo]所创,转载请带上原文链接,感谢
https://yzsam.com/2022/02/202202141609343849.html