i parse a json object and suppose i have this value 1515.2777777777778 i need to parse the currency in this way:
€ 1'515,27
Is there a special class that can directly do the conversion? or should i do it in this way:
Double number = Double.valueOf(obj.getString("price"));
DecimalFormat decimalFormat = new DecimalFormat("€ #\\'###.00");
String prezzo = decimalFormat.format(number);
but even in this way i t doesnt lieke the single apostrophe.