A friendly place for programming greenhorns!
Big Moose Saloon
Search
|
Java FAQ
|
Recent Topics
Register / Login
Win a copy of
The Mikado Method
this week in the
Agile and other Processes
forum!
JavaRanch
»
Java Forums
»
Java
»
Java in General
Author
how to format numbers with Local Currency
Cyrus Serrano
Ranch Hand
Joined: Sep 29, 2003
Posts: 137
posted
Jul 23, 2007 11:34:00
0
hi all,
how can i format numbers and display them using locale currency of a country.
thanks..
Ulf Dittmer
Marshal
Joined: Mar 22, 2005
Posts: 35241
7
posted
Jul 23, 2007 12:37:00
0
The java.text package has many classes dealing with the localized display of numbers, dates and currencies. See
this example
.
Android apps
–
ImageJ plugins
–
Java web charts
Cyrus Serrano
Ranch Hand
Joined: Sep 29, 2003
Posts: 137
posted
Jul 23, 2007 16:11:00
0
thanks. i'll experiment on those examples.
I agree. Here's the link:
http://zeroturnaround.com/jrebel
- it saves me about five hours per week
subject: how to format numbers with Local Currency
Similar Threads
how to use locale in javascript
Percentages displayed
What's new in Struts 1.1
Doubt on seperators in currency format.
wanted a example for displaying currency in jsp
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter