I can't stand Java's implementation of currency formats. What user is ever 
going to remember to type in the correct currency sign? Better off using the 
basic format and setting the fractions.

Small change to the above; in both methods replace the:
NumberFormat nf = NumberFormat.getCurrencyInstance();
with:NumberFormat nf = NumberFormat.getInstance();
  | nf.setMaximumFractionDigits(2);
  | nf.setMinimumFractionDigits(2);


View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4123808#4123808

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4123808
_______________________________________________
jboss-user mailing list
[email protected]
https://lists.jboss.org/mailman/listinfo/jboss-user

Reply via email to