jakarta-taglibs-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject DO NOT REPLY [Bug 33684] - Formatting Currency numbers : no currency symbol .
Date Tue, 22 Feb 2005 22:00:24 GMT
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG·
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=33684>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND·
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=33684





------- Additional Comments From kris@dotech.com  2005-02-22 23:00 -------
I'm not sure I understand what you're trying to illustrate with your first
example. <i18n:message> is essentially just a taglib interface into
java.text.MessageFormat. Does your resource bundle contain something like:

genericCurrencyNumber={0,number,currency}

As for the second example, I'm really not sure why that wouldn't work. It should
be the equivalent of:

Format format = NumberFormat.getCurrencyInstance(loc);
String s = format.format(new Float(sampleFloat));

Which prints a currency symbol just fine.

-- 
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.

---------------------------------------------------------------------
To unsubscribe, e-mail: taglibs-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: taglibs-dev-help@jakarta.apache.org


Mime
View raw message