File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
Win a copy of
this week in the
Java in General
Displaying currency values
Joined: Nov 18, 2004
Oct 21, 2005 12:32:00
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 (�)?
Joined: Oct 16, 2005
Oct 21, 2005 13:38:00
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
URLyBird 1.3.3: Validation of currency on the rate field
Help with currency symbol
JSTL fmt:formatNumber does not display currency
Localized Currency formatting issue
How do I NOT require currency symbol on input, but still display it with convertNumber?
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2014