on 03-23-2006 5:06 PM
Hello Everyone,
I have an RFC that returns and Amount and a Currency to my webdynpro project. The amount is in the format 1200.98. I want to display this amount on my view as follows:
Currency is USD - 1,200.98
Currency is JPY - 120,098
Currency is EUR - 1,200.98
Currency is IDR - 120,098
Thanks in advance for your assistance.
Mike
Hi Mike,
Check tutorial from Sun: http://java.sun.com/docs/books/tutorial/i18n/format/numberFormat.html
Best regards, Maksim Rashchynski.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Mike,
If you are looking to implement based on the locale. U can create a class that returns currency in the following formatbased on locales for further information refer to the following links
http://java.sun.com/j2se/1.4.2/docs/api/java/util/Locale.html
http://java.sun.com/developer/technicalArticles/Intl/ResourceBundles/
http://www.java2s.com/ExampleCode/Development-Class/Usesomelocaleschoices.htm
http://www.devsphere.com/mapping/docs/guide/internat.html
Regards
Ayyapparaj
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
84 | |
23 | |
11 | |
9 | |
8 | |
5 | |
5 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.