I'm trying to format currency in Brazil but Java simply does not know how to handle this.
NumberFormat format = NumberFormat.getInstance(new Locale("br"));
Object value = format.parse("5,45");
value ends up translating to 54500. It's very strange. Does anyone know why and how I can properly format the value?