File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes Java in General and the fly likes Displaying currency values Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Java in General
Bookmark "Displaying currency values" Watch "Displaying currency values" New topic

Displaying currency values

ravinderSingh singh
Ranch Hand

Joined: Nov 18, 2004
Posts: 41
Hi all,

I'm trying to display some monetary value using the code below,


When executed, the code correctly formats the value but it displays some funny star symbol followed by the formatted value.

Does anyone know why this is and how I could replace the funny star symbol with a currency symbol (�)?
Grant Gainey
Ranch Hand

Joined: Oct 16, 2005
Posts: 65
Try Locale.UK - Locale.ENGLISH is just "en", and I have no idea what it thinks it's mapping currency to.


In Theory, there is no difference between theory and practice.<br />In Practice, there is no relationship between theory and practice.
I agree. Here's the link:
subject: Displaying currency values
jQuery in Action, 3rd edition