lundi 29 septembre 2014

NumberFormat for Currency with Cent values as argument


Vote count:

0




I'm using NumberFormat for dsiplaying currencies. My Problem is that I get cent values as strings (e.g. 500 for 5€).


Right now I'm using StringBuilder to modify the String, so i get 5.00 instead of 500, before calling:



numberFormat.format(value);


Is there an option to get my original input value (500) to use with NumberFormat or can I only use those modified values.


Thanks



asked 2 mins ago







NumberFormat for Currency with Cent values as argument

Aucun commentaire:

Enregistrer un commentaire