Originally posted by Brian Cummins: Hi. My price value is read in from a file as a float value. I then convert this to local currency and then to String using this code: //Format the currency in the price textbox
BigDecimal bookPrice = new BigDecimal(book.getPrice());
NumberFormat n = NumberFormat.getCurrencyInstance(Locale.ITALY);
String s = n.format(bookPrice);
txtPrice.setText(s); However, my problem is when i am trying to save this value again. The value has to be saved as a Float. Is there any way of taking out the � sign so that i can convert it back to a Float.